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.0009111/0.0009111, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0006841/0.000684, allocations: 86.41 kB / 271.2 MB, free: 8.242 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.2889/0.2889, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2904/0.3931, allocations: 138.9 MB / 0.615 GB, free: 11.99 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.3966, allocations: 3.36 MB / 0.6183 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.3966, allocations: 0 / 0.6183 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3968, allocations: 23.88 kB / 0.6183 GB, free: 8.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.3968, allocations: 28.81 kB / 0.6183 GB, free: 8.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.3978, allocations: 378.3 kB / 0.6187 GB, free: 8.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.3979, allocations: 59.61 kB / 0.6188 GB, free: 8.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.3979, allocations: 4 kB / 0.6188 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.398, allocations: 31.91 kB / 0.6188 GB, free: 8.125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.3981, allocations: 23.92 kB / 0.6188 GB, free: 8.102 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3981, allocations: 4 kB / 0.6188 GB, free: 8.098 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.399, allocations: 486.8 kB / 0.6193 GB, free: 7.621 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.399, allocations: 8 kB / 0.6193 GB, free: 7.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.3991, allocations: 53.58 kB / 0.6193 GB, free: 7.555 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.3994, allocations: 217.2 kB / 0.6195 GB, free: 7.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3994, allocations: 3.938 kB / 0.6195 GB, free: 7.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3994, allocations: 0 / 0.6195 GB, free: 7.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3995, allocations: 0 / 0.6195 GB, free: 7.34 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.0005289/0.4, allocations: 395.1 kB / 0.6199 GB, free: 6.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4, allocations: 12.02 kB / 0.6199 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.4001, allocations: 8.844 kB / 0.6199 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.4002, allocations: 179.7 kB / 0.6201 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4002, allocations: 0 / 0.6201 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4002, allocations: 8 kB / 0.6201 GB, free: 6.668 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.4004, allocations: 73.55 kB / 0.6202 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4004, allocations: 0 / 0.6202 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4004, allocations: 8 kB / 0.6202 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4004, allocations: 3.984 kB / 0.6202 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.4005, allocations: 47.97 kB / 0.6203 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.4009, allocations: 377.8 kB / 0.6206 GB, free: 6.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.401, allocations: 66.48 kB / 0.6207 GB, free: 6.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.401, allocations: 20.84 kB / 0.6207 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.4026, allocations: 1.232 MB / 0.6219 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4026, allocations: 38.55 kB / 0.6219 GB, free: 4.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.4026, allocations: 0 / 0.6219 GB, free: 4.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.006259/0.4089, allocations: 0.6609 MB / 0.6226 GB, free: 3.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.409, allocations: 55.41 kB / 0.6226 GB, free: 3.746 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.409, allocations: 101.8 kB / 0.6227 GB, free: 3.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.4091, allocations: 29.7 kB / 0.6228 GB, free: 3.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4091, allocations: 92.27 kB / 0.6228 GB, free: 3.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.4092, allocations: 47.91 kB / 0.6229 GB, free: 3.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.4092, allocations: 0 / 0.6229 GB, free: 3.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4093, allocations: 322.8 kB / 0.6232 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4095, allocations: 87.88 kB / 0.6233 GB, free: 3.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.4097, allocations: 102.5 kB / 0.6234 GB, free: 2.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.4102, allocations: 198.5 kB / 0.6236 GB, free: 2.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4102, allocations: 3.938 kB / 0.6236 GB, free: 2.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005315/0.4107, allocations: 259.6 kB / 0.6238 GB, free: 2.477 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4107, allocations: 4 kB / 0.6238 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4108, allocations: 0 / 0.6238 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4108, allocations: 4 kB / 0.6238 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.4114, allocations: 51.88 kB / 0.6239 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4114, allocations: 4 kB / 0.6239 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.4119, allocations: 12 kB / 0.6239 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.412, allocations: 19.91 kB / 0.6239 GB, free: 2.383 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.0001198/0.4121, allocations: 117.9 kB / 0.624 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4122, allocations: 7.938 kB / 0.624 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.4129, allocations: 349.9 kB / 0.6244 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.4129, allocations: 4 kB / 0.6244 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4129, allocations: 0 / 0.6244 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4129, allocations: 0 / 0.6244 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.414, allocations: 0.7556 MB / 0.6251 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.414, allocations: 8.484 kB / 0.6251 GB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.4145, allocations: 39.97 kB / 0.6252 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4145, allocations: 0 / 0.6252 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.4146, allocations: 12.48 kB / 0.6252 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4146, allocations: 0 / 0.6252 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4146, allocations: 0 / 0.6252 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.4151, allocations: 365.4 kB / 0.6255 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.4152, allocations: 109 kB / 0.6256 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.4153, allocations: 0.8125 kB / 0.6256 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.4158, allocations: 12 kB / 0.6256 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4158, allocations: 15.97 kB / 0.6256 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.4159, allocations: 11.98 kB / 0.6257 GB, free: 476 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.834e-05/0.4159, allocations: 84.09 kB / 0.6257 GB, free: 392 kB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4159, allocations: 0 / 0.6257 GB, free: 392 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.4163, allocations: 99.98 kB / 0.6258 GB, free: 292 kB / 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.0003862/0.4167, allocations: 226.9 kB / 0.6261 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.4172, allocations: 216 kB / 0.6263 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4172, allocations: 0 / 0.6263 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.4174, allocations: 115.8 kB / 0.6264 GB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4178, allocations: 31.91 kB / 0.6264 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.4184, allocations: 333.2 kB / 0.6267 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4186, allocations: 0.6933 MB / 0.6274 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4189, allocations: 43.38 kB / 0.6274 GB, free: 14.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4189, allocations: 0 / 0.6274 GB, free: 14.59 MB / 458.7 MB Notification: Performance of Templates: time 0.005566/0.4244, allocations: 4.159 MB / 0.6315 GB, free: 10.43 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