Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 209.6 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.94 MB / 362.1 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 75.88 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3026, allocations: 66.09 MB / 0.5623 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1796/0.4822, allocations: 152.8 MB / 0.7115 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.4837, allocations: 1.191 MB / 0.7127 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.4837, allocations: 0 / 0.7127 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.4839, allocations: 39.78 kB / 0.7127 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.4839, allocations: 23.78 kB / 0.7127 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.4851, allocations: 453.6 kB / 0.7132 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.4852, allocations: 71.55 kB / 0.7132 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.4853, allocations: 0 / 0.7132 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.4854, allocations: 43.91 kB / 0.7133 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.4854, allocations: 23.92 kB / 0.7133 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.4854, allocations: 0 / 0.7133 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4864, allocations: 494.6 kB / 0.7138 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4864, allocations: 11.98 kB / 0.7138 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.4865, allocations: 23.88 kB / 0.7138 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.487, allocations: 313.8 kB / 0.7141 GB, free: 8.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.487, allocations: 0 / 0.7141 GB, free: 8.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.487, allocations: 7.938 kB / 0.7141 GB, free: 8.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.487, allocations: 0 / 0.7141 GB, free: 8.211 MB / 0.545 GB 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.0005518/0.4875, allocations: 333.6 kB / 0.7144 GB, free: 7.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4876, allocations: 12.03 kB / 0.7144 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4876, allocations: 0.9375 kB / 0.7144 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4877, allocations: 117.1 kB / 0.7146 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4877, allocations: 8 kB / 0.7146 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4878, allocations: 4 kB / 0.7146 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4879, allocations: 69.66 kB / 0.7146 GB, free: 7.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4879, allocations: 4 kB / 0.7146 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4879, allocations: 4 kB / 0.7146 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4879, allocations: 7.984 kB / 0.7146 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.488, allocations: 47.97 kB / 0.7147 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4885, allocations: 364.8 kB / 0.715 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4886, allocations: 54.56 kB / 0.7151 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.4887, allocations: 20.84 kB / 0.7151 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.49, allocations: 247.8 kB / 0.7153 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.49, allocations: 42.62 kB / 0.7154 GB, free: 6.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.49, allocations: 0 / 0.7154 GB, free: 6.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006439/0.4965, allocations: 0.6571 MB / 0.716 GB, free: 6.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4965, allocations: 55.41 kB / 0.7161 GB, free: 6.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.4966, allocations: 97.86 kB / 0.7162 GB, free: 5.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.4967, allocations: 29.7 kB / 0.7162 GB, free: 5.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.4967, allocations: 96.3 kB / 0.7163 GB, free: 5.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.4968, allocations: 47.53 kB / 0.7163 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4969, allocations: 45.67 kB / 0.7164 GB, free: 5.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.497, allocations: 319.4 kB / 0.7167 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4972, allocations: 79.94 kB / 0.7168 GB, free: 5.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.4975, allocations: 114.4 kB / 0.7169 GB, free: 5.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.4979, allocations: 202.5 kB / 0.7171 GB, free: 4.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4979, allocations: 0 / 0.7171 GB, free: 4.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000569/0.4985, allocations: 253 kB / 0.7173 GB, free: 4.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4985, allocations: 10.28 kB / 0.7173 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4985, allocations: 0 / 0.7173 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4986, allocations: 4 kB / 0.7173 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.4992, allocations: 51.89 kB / 0.7174 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4992, allocations: 0 / 0.7174 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.4997, allocations: 24.05 kB / 0.7174 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.4997, allocations: 12.23 kB / 0.7174 GB, free: 4.617 MB / 0.545 GB 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 0.0001249/0.4999, allocations: 121.7 kB / 0.7175 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.4999, allocations: 7.953 kB / 0.7175 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.5007, allocations: 345.5 kB / 0.7179 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5007, allocations: 0 / 0.7179 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5007, allocations: 0 / 0.7179 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5007, allocations: 3.938 kB / 0.7179 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.502, allocations: 0.7412 MB / 0.7186 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.502, allocations: 0 / 0.7186 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.5026, allocations: 43.91 kB / 0.7186 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5026, allocations: 4 kB / 0.7186 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.5026, allocations: 11.98 kB / 0.7186 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5026, allocations: 0 / 0.7186 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5026, allocations: 3.938 kB / 0.7186 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.5032, allocations: 351.4 kB / 0.719 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.5033, allocations: 23.91 kB / 0.719 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.5034, allocations: 0 / 0.719 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.5039, allocations: 23.97 kB / 0.719 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.5039, allocations: 15.91 kB / 0.719 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.504, allocations: 12 kB / 0.7191 GB, free: 2.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.504, allocations: 83.27 kB / 0.7191 GB, free: 2.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.504, allocations: 0 / 0.7191 GB, free: 2.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004316/0.5044, allocations: 103.7 kB / 0.7192 GB, free: 2.625 MB / 0.545 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 (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.000425/0.5049, allocations: 222.8 kB / 0.7194 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005259/0.5054, allocations: 203.8 kB / 0.7196 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5054, allocations: 0 / 0.7196 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5056, allocations: 117.8 kB / 0.7198 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.506, allocations: 32.14 kB / 0.7198 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.5066, allocations: 252.5 kB / 0.72 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.5069, allocations: 0.6965 MB / 0.7207 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.5072, allocations: 68.78 kB / 0.7208 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.5074, allocations: 43.31 kB / 0.7208 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.5074, allocations: 0 / 0.7208 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of Templates: time 0.01062/0.518, allocations: 6.403 MB / 0.7271 GB, free: 10.55 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.668957664165646]