Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.001964/0.001964, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002742/0.002742, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 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 1.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4177/0.4177, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.125e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3929/0.3929, allocations: 147.1 MB / 0.5121 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3943, allocations: 1.182 MB / 0.5133 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.3943, allocations: 0 / 0.5133 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3945, allocations: 30.11 kB / 0.5133 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.3946, allocations: 30.38 kB / 0.5133 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3958, allocations: 436.5 kB / 0.5137 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3959, allocations: 76.84 kB / 0.5138 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.396, allocations: 10.95 kB / 0.5138 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3961, allocations: 38.58 kB / 0.5138 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.3962, allocations: 28.92 kB / 0.5139 GB, free: 15.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3962, allocations: 2.938 kB / 0.5139 GB, free: 15.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3973, allocations: 468.2 kB / 0.5143 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3973, allocations: 7.891 kB / 0.5143 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.3973, allocations: 19.11 kB / 0.5144 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.3979, allocations: 343.2 kB / 0.5147 GB, free: 15.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3979, allocations: 0 / 0.5147 GB, free: 15.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3979, allocations: 0 / 0.5147 GB, free: 15.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3979, allocations: 0 / 0.5147 GB, free: 15.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005483/0.3985, allocations: 438.9 kB / 0.5151 GB, free: 14.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3985, allocations: 12.36 kB / 0.5151 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.3986, allocations: 16.2 kB / 0.5151 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.3986, allocations: 112 kB / 0.5152 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3986, allocations: 0 / 0.5152 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3987, allocations: 9.531 kB / 0.5152 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3988, allocations: 66.8 kB / 0.5153 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3988, allocations: 4 kB / 0.5153 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3988, allocations: 4.656 kB / 0.5153 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3988, allocations: 7 kB / 0.5153 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.3989, allocations: 26.56 kB / 0.5153 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3993, allocations: 305.9 kB / 0.5156 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3995, allocations: 69.5 kB / 0.5157 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.3995, allocations: 29.44 kB / 0.5157 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.4009, allocations: 245.9 kB / 0.516 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4009, allocations: 37.3 kB / 0.516 GB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.4009, allocations: 0 / 0.516 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.006905/0.4078, allocations: 0.7799 MB / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.4078, allocations: 54.38 kB / 0.5168 GB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.4079, allocations: 163.2 kB / 0.517 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4079, allocations: 25.7 kB / 0.517 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.4079, allocations: 141.4 kB / 0.5171 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.408, allocations: 52.86 kB / 0.5172 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4081, allocations: 52.47 kB / 0.5172 GB, free: 13.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.4082, allocations: 0.4905 MB / 0.5177 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4084, allocations: 129.5 kB / 0.5178 GB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4086, allocations: 161.5 kB / 0.518 GB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.409, allocations: 303.1 kB / 0.5183 GB, free: 12.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.409, allocations: 0 / 0.5183 GB, free: 12.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00058/0.4096, allocations: 356.6 kB / 0.5186 GB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4096, allocations: 3.375 kB / 0.5186 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4096, allocations: 6.938 kB / 0.5186 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4096, allocations: 0 / 0.5186 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.4104, allocations: 48.34 kB / 0.5187 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4104, allocations: 7.5 kB / 0.5187 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.4109, allocations: 12.97 kB / 0.5187 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.4109, allocations: 19.06 kB / 0.5187 GB, free: 12.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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 9.538e-05/0.411, allocations: 167.2 kB / 0.5189 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.4111, allocations: 12.92 kB / 0.5189 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.4119, allocations: 428.5 kB / 0.5193 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4119, allocations: 6.938 kB / 0.5193 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4119, allocations: 0 / 0.5193 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4119, allocations: 2.484 kB / 0.5193 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.4129, allocations: 0.8196 MB / 0.5201 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4129, allocations: 0 / 0.5201 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.4136, allocations: 48.11 kB / 0.5201 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4136, allocations: 0 / 0.5201 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.4136, allocations: 6.125 kB / 0.5202 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4136, allocations: 5.516 kB / 0.5202 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4136, allocations: 2.25 kB / 0.5202 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.4142, allocations: 499.7 kB / 0.5206 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.4143, allocations: 25.86 kB / 0.5207 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.4143, allocations: 6.688 kB / 0.5207 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.4149, allocations: 7.469 kB / 0.5207 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.4149, allocations: 17.59 kB / 0.5207 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.415, allocations: 8.203 kB / 0.5207 GB, free: 11.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.37e-05/0.415, allocations: 131.5 kB / 0.5208 GB, free: 11.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.415, allocations: 3.125 kB / 0.5208 GB, free: 11.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000498/0.4155, allocations: 100.6 kB / 0.5209 GB, free: 11.26 MB / 410.7 MB 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 (19): * Single equations (assignments): 19 * 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.0004181/0.4159, allocations: 231.6 kB / 0.5211 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.4164, allocations: 313.2 kB / 0.5214 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4165, allocations: 0 / 0.5214 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.4167, allocations: 173.2 kB / 0.5216 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4171, allocations: 36.45 kB / 0.5216 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.4176, allocations: 259.3 kB / 0.5219 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.4177, allocations: 81.39 kB / 0.522 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.418, allocations: 66.33 kB / 0.522 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.4182, allocations: 35.42 kB / 0.5221 GB, free: 10.72 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4182, allocations: 0 / 0.5221 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Templates: time 0.01046/0.4287, allocations: 6.847 MB / 0.5288 GB, free: 9.801 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6845212450716645]