Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001062/0.001062, allocations: 104 kB / 17.32 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 241.9 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.56 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 60.84 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3511/0.4585, allocations: 149.4 MB / 0.6036 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.4601, allocations: 1.187 MB / 0.6048 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.4602, allocations: 0 / 0.6048 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.4604, allocations: 37.73 kB / 0.6048 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.4605, allocations: 27.78 kB / 0.6048 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.4618, allocations: 394.6 kB / 0.6052 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.462, allocations: 75.53 kB / 0.6053 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.462, allocations: 4 kB / 0.6053 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.4621, allocations: 31.86 kB / 0.6053 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.4622, allocations: 27.91 kB / 0.6053 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.4622, allocations: 4 kB / 0.6053 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4634, allocations: 498.8 kB / 0.6058 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.4634, allocations: 11.92 kB / 0.6058 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.4635, allocations: 23.94 kB / 0.6058 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.464, allocations: 319.3 kB / 0.6061 GB, free: 9.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.464, allocations: 3.938 kB / 0.6061 GB, free: 9.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.464, allocations: 0 / 0.6061 GB, free: 9.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4641, allocations: 0 / 0.6061 GB, free: 9.141 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.0005893/0.4646, allocations: 403.9 kB / 0.6065 GB, free: 8.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4647, allocations: 8.031 kB / 0.6065 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.4647, allocations: 5.312 kB / 0.6065 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4649, allocations: 170.9 kB / 0.6067 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4649, allocations: 8 kB / 0.6067 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4649, allocations: 7.984 kB / 0.6067 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4651, allocations: 81.66 kB / 0.6068 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4651, allocations: 0 / 0.6068 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4651, allocations: 4 kB / 0.6068 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4651, allocations: 0 / 0.6068 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.4652, allocations: 47.91 kB / 0.6068 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.4656, allocations: 385.8 kB / 0.6072 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.4657, allocations: 70.48 kB / 0.6073 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.4658, allocations: 24.8 kB / 0.6073 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/0.4676, allocations: 1.236 MB / 0.6085 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4677, allocations: 30.56 kB / 0.6085 GB, free: 6.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4677, allocations: 0 / 0.6085 GB, free: 6.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007098/0.4748, allocations: 0.6659 MB / 0.6092 GB, free: 5.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4748, allocations: 55.41 kB / 0.6092 GB, free: 5.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.4749, allocations: 105.8 kB / 0.6093 GB, free: 5.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.475, allocations: 25.7 kB / 0.6094 GB, free: 5.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.475, allocations: 96.31 kB / 0.6095 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.4751, allocations: 43.3 kB / 0.6095 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4752, allocations: 41.67 kB / 0.6095 GB, free: 5.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4753, allocations: 318.8 kB / 0.6098 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.4755, allocations: 79.94 kB / 0.6099 GB, free: 4.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.4758, allocations: 106.5 kB / 0.61 GB, free: 4.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.4762, allocations: 209.7 kB / 0.6102 GB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4762, allocations: 1.5 kB / 0.6102 GB, free: 4.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005885/0.4768, allocations: 249.3 kB / 0.6105 GB, free: 4.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4768, allocations: 8 kB / 0.6105 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4768, allocations: 0 / 0.6105 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4769, allocations: 0 / 0.6105 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.4776, allocations: 47.95 kB / 0.6105 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4776, allocations: 4 kB / 0.6105 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.4782, allocations: 19.98 kB / 0.6105 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.4782, allocations: 7.984 kB / 0.6105 GB, free: 4.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4783, allocations: 129.8 kB / 0.6107 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.4784, allocations: 11.89 kB / 0.6107 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.4793, allocations: 345.5 kB / 0.611 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4793, allocations: 4 kB / 0.611 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4793, allocations: 0 / 0.611 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4793, allocations: 0 / 0.611 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4804, allocations: 0.7587 MB / 0.6118 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4804, allocations: 0 / 0.6118 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.4811, allocations: 51.89 kB / 0.6118 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4811, allocations: 0 / 0.6118 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.4811, allocations: 8 kB / 0.6118 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4811, allocations: 0 / 0.6118 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4811, allocations: 0 / 0.6118 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.4817, allocations: 359.2 kB / 0.6122 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4818, allocations: 104.9 kB / 0.6123 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.4819, allocations: 4 kB / 0.6123 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.4825, allocations: 15.94 kB / 0.6123 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.4825, allocations: 19.91 kB / 0.6123 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.4826, allocations: 7.984 kB / 0.6123 GB, free: 2.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.4826, allocations: 87.27 kB / 0.6124 GB, free: 2.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4826, allocations: 0 / 0.6124 GB, free: 2.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.4831, allocations: 103.9 kB / 0.6125 GB, free: 2.012 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 (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.0004251/0.4835, allocations: 223.6 kB / 0.6127 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.4841, allocations: 215.7 kB / 0.6129 GB, free: 1.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4841, allocations: 4.125 kB / 0.6129 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.4843, allocations: 122.8 kB / 0.613 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.4848, allocations: 26.97 kB / 0.6131 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.4854, allocations: 297 kB / 0.6133 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.4857, allocations: 0.6963 MB / 0.614 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.4862, allocations: 69.25 kB / 0.6141 GB, free: 332 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4864, allocations: 39.38 kB / 0.6141 GB, free: 292 kB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4864, allocations: 0 / 0.6141 GB, free: 292 kB / 446.1 MB Notification: Performance of Templates: time 0.01003/0.4964, allocations: 6.177 MB / 0.6202 GB, free: 10.11 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches