Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007786/0.0007786, allocations: 101.4 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3272/0.3272, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004828, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4436/0.5649, allocations: 138.9 MB / 0.6144 GB, free: 12.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.5697, allocations: 3.357 MB / 0.6177 GB, free: 9 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.5698, allocations: 0 / 0.6177 GB, free: 9 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.5701, allocations: 43.78 kB / 0.6177 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.5702, allocations: 19.78 kB / 0.6177 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5717, allocations: 354.4 kB / 0.6181 GB, free: 8.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.5718, allocations: 67.61 kB / 0.6181 GB, free: 8.523 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.5719, allocations: 0 / 0.6181 GB, free: 8.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.572, allocations: 35.84 kB / 0.6182 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.5721, allocations: 23.92 kB / 0.6182 GB, free: 8.465 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.5721, allocations: 4 kB / 0.6182 GB, free: 8.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.5733, allocations: 446.9 kB / 0.6186 GB, free: 8.023 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.5734, allocations: 7.969 kB / 0.6186 GB, free: 8.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5734, allocations: 41.64 kB / 0.6187 GB, free: 7.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.5738, allocations: 197.3 kB / 0.6189 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5738, allocations: 7.938 kB / 0.6189 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5739, allocations: 0 / 0.6189 GB, free: 7.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.5739, allocations: 4 kB / 0.6189 GB, free: 7.766 MB / 442.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.0005677/0.5744, allocations: 398.9 kB / 0.6193 GB, free: 7.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5745, allocations: 8.031 kB / 0.6193 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5745, allocations: 11.84 kB / 0.6193 GB, free: 7.312 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5747, allocations: 163 kB / 0.6194 GB, free: 7.113 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5747, allocations: 4 kB / 0.6194 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5747, allocations: 11.44 kB / 0.6195 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5749, allocations: 65.67 kB / 0.6195 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5749, allocations: 7.984 kB / 0.6195 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5749, allocations: 3.984 kB / 0.6195 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5749, allocations: 7.938 kB / 0.6195 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.328e-05/0.575, allocations: 48.41 kB / 0.6196 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.5755, allocations: 374.9 kB / 0.6199 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.5757, allocations: 70.48 kB / 0.62 GB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.5757, allocations: 20.84 kB / 0.62 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.5776, allocations: 1.232 MB / 0.6212 GB, free: 4.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5776, allocations: 38.56 kB / 0.6213 GB, free: 4.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.5776, allocations: 0 / 0.6213 GB, free: 4.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.00681/0.5844, allocations: 0.6558 MB / 0.6219 GB, free: 4.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5845, allocations: 51.53 kB / 0.622 GB, free: 4.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.5846, allocations: 109.8 kB / 0.6221 GB, free: 4.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.5847, allocations: 29.7 kB / 0.6221 GB, free: 4.035 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.5847, allocations: 92.27 kB / 0.6222 GB, free: 3.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.5848, allocations: 47.34 kB / 0.6222 GB, free: 3.895 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.5848, allocations: 4 kB / 0.6222 GB, free: 3.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.585, allocations: 318.8 kB / 0.6225 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5852, allocations: 83.88 kB / 0.6226 GB, free: 3.488 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.5854, allocations: 112.3 kB / 0.6227 GB, free: 3.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.5856, allocations: 91.97 kB / 0.6228 GB, free: 3.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5856, allocations: 3.953 kB / 0.6228 GB, free: 3.277 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005549/0.5862, allocations: 241.4 kB / 0.623 GB, free: 3.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5862, allocations: 4 kB / 0.623 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5862, allocations: 4 kB / 0.623 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5863, allocations: 3.938 kB / 0.623 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.5869, allocations: 55.88 kB / 0.6231 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.587, allocations: 8.625 kB / 0.6231 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.5875, allocations: 8.875 kB / 0.6231 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.5875, allocations: 15.97 kB / 0.6231 GB, free: 2.938 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.5877, allocations: 121.8 kB / 0.6232 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5877, allocations: 7.953 kB / 0.6233 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.5886, allocations: 352 kB / 0.6236 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5886, allocations: 4 kB / 0.6236 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5886, allocations: 0 / 0.6236 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5886, allocations: 0 / 0.6236 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.5897, allocations: 0.7586 MB / 0.6243 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5898, allocations: 8.922 kB / 0.6243 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.5904, allocations: 39.97 kB / 0.6244 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5904, allocations: 0 / 0.6244 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.5904, allocations: 11.98 kB / 0.6244 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5904, allocations: 3.938 kB / 0.6244 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5904, allocations: 0 / 0.6244 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.591, allocations: 360.3 kB / 0.6247 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5911, allocations: 104.9 kB / 0.6248 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.5912, allocations: 3.125 kB / 0.6248 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.5917, allocations: 12 kB / 0.6249 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.5917, allocations: 15.97 kB / 0.6249 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.5918, allocations: 11.98 kB / 0.6249 GB, free: 1.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.5918, allocations: 79.28 kB / 0.625 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5918, allocations: 4 kB / 0.625 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004413/0.5923, allocations: 99.98 kB / 0.6251 GB, free: 0.8359 MB / 442.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 (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.0005085/0.5928, allocations: 230.9 kB / 0.6253 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.5933, allocations: 213 kB / 0.6255 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5934, allocations: 0 / 0.6255 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5936, allocations: 111.9 kB / 0.6256 GB, free: 288 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.594, allocations: 28.09 kB / 0.6256 GB, free: 260 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.5947, allocations: 337.2 kB / 0.6259 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.595, allocations: 0.6972 MB / 0.6266 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.5952, allocations: 35.39 kB / 0.6267 GB, free: 15.15 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5952, allocations: 0 / 0.6267 GB, free: 15.15 MB / 458.7 MB Notification: Performance of Templates: time 0.007242/0.6025, allocations: 4.156 MB / 0.6307 GB, free: 11 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches