Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008235/0.0008235, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.962/0.962, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7831/0.7831, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008715/0.0008715, allocations: 71.05 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4748, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.00203/0.4769, allocations: 1.457 MB / 0.8193 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.4773, allocations: 259.5 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.4774, allocations: 0 / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.4774, allocations: 7.906 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.4774, allocations: 4.5 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.4778, allocations: 50.55 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.4778, allocations: 25.81 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.4779, allocations: 8.281 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.478, allocations: 6.688 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.478, allocations: 13.11 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.478, allocations: 2.781 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4781, allocations: 61.72 kB / 0.8197 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.4781, allocations: 6.359 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.4782, allocations: 10.12 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.4783, allocations: 54.75 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4783, allocations: 0 / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4783, allocations: 0 / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4783, allocations: 3.938 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003597/0.4787, allocations: 273.5 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4787, allocations: 9.125 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.4788, allocations: 44.77 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.4788, allocations: 2.219 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.4789, allocations: 109.9 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4789, allocations: 384 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.4789, allocations: 1.594 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.479, allocations: 50.58 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.479, allocations: 4.594 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.479, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.479, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.4791, allocations: 37.39 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.4794, allocations: 223.6 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.4795, allocations: 36.81 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.4796, allocations: 24.75 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/0.4799, allocations: 77.27 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.48, allocations: 33.72 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.48, allocations: 3.938 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.4802, allocations: 82.31 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.4803, allocations: 53.84 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.4803, allocations: 99.84 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.4803, allocations: 26.41 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4804, allocations: 88.61 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.4804, allocations: 7.859 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.4804, allocations: 11.45 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.4805, allocations: 319.3 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.4805, allocations: 17.44 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.4806, allocations: 12.53 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.4807, allocations: 41 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4807, allocations: 10.5 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.4808, allocations: 68.98 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4808, allocations: 8 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4808, allocations: 48 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4808, allocations: 5.469 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.4809, allocations: 9.109 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4809, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.4809, allocations: 6.406 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4809, allocations: 6.031 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.481, allocations: 111.2 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.481, allocations: 1.875 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.4811, allocations: 78.44 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4811, allocations: 5.219 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4811, allocations: 0.6094 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4811, allocations: 1.625 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.4812, allocations: 134.9 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4812, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.4813, allocations: 9.766 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4813, allocations: 4.656 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.4813, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.4813, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4813, allocations: 3.234 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.4814, allocations: 169.8 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.4814, allocations: 3.953 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.4814, allocations: 6.219 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.4815, allocations: 6.016 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4815, allocations: 4.734 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4815, allocations: 0 / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.4815, allocations: 83.28 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4815, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001608/0.4817, allocations: 21.56 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003851/0.4821, allocations: 0.7089 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.4822, allocations: 39.86 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.4822, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.4822, allocations: 18.11 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.4824, allocations: 3.5 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.4827, allocations: 144.6 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.4832, allocations: 0.6759 MB / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.4832, allocations: 0.75 kB / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4832, allocations: 15.42 kB / 0.8237 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4832, allocations: 0 / 0.8237 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.4996, allocations: 1.618 MB / 0.8253 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.239, allocations: 19.67 kB / 0.8253 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.117221377091482] Failed to read output from testmodel.py, exit status != 0: 7.318230278091505 7.330067781 6.849078043 Calling exit ...