Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 173.9 kB / 16.58 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 222.7 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3988/0.3988, allocations: 43.58 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005768/0.0005769, allocations: 12 kB / 383.9 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4051/0.5483, allocations: 138.9 MB / 0.5681 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.5533, allocations: 3.36 MB / 0.5714 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.5534, allocations: 0 / 0.5714 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.5536, allocations: 31.86 kB / 0.5714 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.5537, allocations: 27.78 kB / 0.5714 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.5552, allocations: 350.4 kB / 0.5718 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.5554, allocations: 67.61 kB / 0.5718 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.5555, allocations: 7.984 kB / 0.5718 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.5556, allocations: 31.86 kB / 0.5719 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.5556, allocations: 23.92 kB / 0.5719 GB, free: 13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.5557, allocations: 4 kB / 0.5719 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.5569, allocations: 442.9 kB / 0.5723 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.557, allocations: 4 kB / 0.5723 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.557, allocations: 45.64 kB / 0.5724 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.5575, allocations: 205.7 kB / 0.5726 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5576, allocations: 0 / 0.5726 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5576, allocations: 0 / 0.5726 GB, free: 12.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.5576, allocations: 4 kB / 0.5726 GB, free: 12.3 MB / 446.1 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.0007355/0.5583, allocations: 398.2 kB / 0.5729 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5584, allocations: 12.03 kB / 0.573 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.5584, allocations: 8.531 kB / 0.573 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5586, allocations: 163 kB / 0.5731 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.5586, allocations: 8 kB / 0.5731 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.5587, allocations: 14.73 kB / 0.5731 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.5589, allocations: 73.59 kB / 0.5732 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5589, allocations: 3.938 kB / 0.5732 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5589, allocations: 0 / 0.5732 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5589, allocations: 0 / 0.5732 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.5591, allocations: 51.97 kB / 0.5733 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.5596, allocations: 368.1 kB / 0.5736 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.5598, allocations: 78.42 kB / 0.5737 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.5598, allocations: 20.86 kB / 0.5737 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.5616, allocations: 1.229 MB / 0.5749 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5617, allocations: 34.56 kB / 0.5749 GB, free: 9.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.634e-06/0.5617, allocations: 0 / 0.5749 GB, free: 9.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.005878/0.5675, allocations: 0.6611 MB / 0.5756 GB, free: 8.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5676, allocations: 55.41 kB / 0.5756 GB, free: 8.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.5677, allocations: 106.5 kB / 0.5757 GB, free: 8.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.5677, allocations: 33.7 kB / 0.5758 GB, free: 8.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.5678, allocations: 88.27 kB / 0.5759 GB, free: 8.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.5679, allocations: 51.34 kB / 0.5759 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.5679, allocations: 0 / 0.5759 GB, free: 8.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.568, allocations: 318.8 kB / 0.5762 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5682, allocations: 84.44 kB / 0.5763 GB, free: 8.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.5684, allocations: 106.5 kB / 0.5764 GB, free: 7.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.5687, allocations: 87.97 kB / 0.5765 GB, free: 7.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5687, allocations: 4 kB / 0.5765 GB, free: 7.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005266/0.5692, allocations: 245.9 kB / 0.5767 GB, free: 7.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5692, allocations: 4 kB / 0.5767 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5693, allocations: 8 kB / 0.5767 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5693, allocations: 4 kB / 0.5767 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.5699, allocations: 55.88 kB / 0.5768 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5699, allocations: 4 kB / 0.5768 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.5703, allocations: 12.67 kB / 0.5768 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.5704, allocations: 16.84 kB / 0.5768 GB, free: 7.473 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.5705, allocations: 125.7 kB / 0.5769 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.5706, allocations: 7.953 kB / 0.5769 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.5714, allocations: 341.3 kB / 0.5773 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5714, allocations: 7.953 kB / 0.5773 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5714, allocations: 4 kB / 0.5773 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5714, allocations: 3.984 kB / 0.5773 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.5725, allocations: 0.7517 MB / 0.578 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5725, allocations: 0 / 0.578 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.5731, allocations: 51.84 kB / 0.5781 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5731, allocations: 0.875 kB / 0.5781 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.5731, allocations: 12 kB / 0.5781 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5731, allocations: 2.109 kB / 0.5781 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5731, allocations: 3.984 kB / 0.5781 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.5737, allocations: 351.8 kB / 0.5784 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5739, allocations: 101 kB / 0.5785 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.5739, allocations: 7.953 kB / 0.5785 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.5743, allocations: 18.36 kB / 0.5785 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.5744, allocations: 11.98 kB / 0.5786 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.5744, allocations: 11.98 kB / 0.5786 GB, free: 5.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.5745, allocations: 83.27 kB / 0.5787 GB, free: 5.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5745, allocations: 0 / 0.5787 GB, free: 5.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.575, allocations: 104 kB / 0.5788 GB, free: 5.371 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005104/0.5755, allocations: 223.6 kB / 0.579 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.5761, allocations: 206.2 kB / 0.5792 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5761, allocations: 0 / 0.5792 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.5763, allocations: 119.8 kB / 0.5793 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5768, allocations: 39.3 kB / 0.5793 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.5774, allocations: 309.2 kB / 0.5796 GB, free: 4.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.5777, allocations: 0.7011 MB / 0.5803 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.5782, allocations: 56.77 kB / 0.5803 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5784, allocations: 39.38 kB / 0.5804 GB, free: 3.652 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5784, allocations: 0 / 0.5804 GB, free: 3.652 MB / 446.1 MB Notification: Performance of Templates: time 0.009694/0.5881, allocations: 5.925 MB / 0.5862 GB, free: 13.74 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches