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.001296/0.001296, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.512/1.512, allocations: 205.4 MB / 223.6 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.0007601/0.0007601, allocations: 96.41 kB / 271.9 MB, free: 8.246 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.3356/0.3356, allocations: 43.56 MB / 363.7 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 20 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 58.83 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.347, allocations: 0.6102 GB / 1.09 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.347, allocations: 77.03 kB / 1.09 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08875/1.436, allocations: 45.52 MB / 1.135 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/1.436, allocations: 4 kB / 1.135 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.731e-06/1.436, allocations: 0 / 1.135 GB, free: 165.8 MB / 0.5105 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.0004857/1.437, allocations: 436.9 kB / 1.135 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/1.437, allocations: 7.75 kB / 1.135 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/1.437, allocations: 4.906 kB / 1.135 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/1.437, allocations: 168.3 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/1.437, allocations: 4.375 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/1.437, allocations: 12.2 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/1.437, allocations: 73.42 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.437, allocations: 11.81 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.437, allocations: 7.938 kB / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/1.437, allocations: 0 / 1.135 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/1.437, allocations: 50.25 kB / 1.135 GB, free: 165 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/1.438, allocations: 380.2 kB / 1.136 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/1.438, allocations: 62.05 kB / 1.136 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.438, allocations: 28.59 kB / 1.136 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.439, allocations: 1.222 MB / 1.137 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/1.439, allocations: 30.56 kB / 1.137 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/1.439, allocations: 7.25 kB / 1.137 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.004767/1.444, allocations: 0.6396 MB / 1.138 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/1.444, allocations: 55.06 kB / 1.138 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/1.444, allocations: 101.7 kB / 1.138 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.444, allocations: 25.7 kB / 1.138 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/1.444, allocations: 100.2 kB / 1.138 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/1.444, allocations: 42.95 kB / 1.138 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/1.444, allocations: 7.938 kB / 1.138 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.631e-05/1.444, allocations: 314.8 kB / 1.138 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/1.444, allocations: 82.59 kB / 1.138 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/1.444, allocations: 103.2 kB / 1.138 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/1.445, allocations: 196.2 kB / 1.139 GB, free: 162 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.445, allocations: 3.969 kB / 1.139 GB, free: 162 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004808/1.445, allocations: 244 kB / 1.139 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.445, allocations: 3.969 kB / 1.139 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.445, allocations: 3.969 kB / 1.139 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.445, allocations: 0.5625 kB / 1.139 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/1.446, allocations: 47.45 kB / 1.139 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.446, allocations: 11.95 kB / 1.139 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/1.446, allocations: 23.78 kB / 1.139 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/1.446, allocations: 15.66 kB / 1.139 GB, free: 161.8 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/1.446, allocations: 121.8 kB / 1.139 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/1.446, allocations: 11.81 kB / 1.139 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/1.447, allocations: 340.6 kB / 1.139 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.447, allocations: 0 / 1.139 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.447, allocations: 4.219 kB / 1.139 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.447, allocations: 7.938 kB / 1.139 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/1.448, allocations: 0.7488 MB / 1.14 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.448, allocations: 0 / 1.14 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/1.448, allocations: 39.91 kB / 1.14 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.448, allocations: 7.938 kB / 1.14 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.448, allocations: 7.984 kB / 1.14 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.448, allocations: 0 / 1.14 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.448, allocations: 8 kB / 1.14 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/1.449, allocations: 344.3 kB / 1.141 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/1.449, allocations: 108.9 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/1.449, allocations: 0 / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/1.449, allocations: 15.98 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/1.449, allocations: 7.984 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/1.449, allocations: 12 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.179e-05/1.449, allocations: 87.27 kB / 1.141 GB, free: 160 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/1.449, allocations: 0 / 1.141 GB, free: 160 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005479/1.45, allocations: 147.8 kB / 1.141 GB, free: 159.9 MB / 0.5105 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 (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.0007164/1.451, allocations: 0.6319 MB / 1.142 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004416/1.451, allocations: 201 kB / 1.142 GB, free: 159 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.451, allocations: 0 / 1.142 GB, free: 159 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/1.451, allocations: 115.9 kB / 1.142 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/1.452, allocations: 27.92 kB / 1.142 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/1.452, allocations: 338.4 kB / 1.142 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/1.452, allocations: 0.7006 MB / 1.143 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/1.453, allocations: 43.38 kB / 1.143 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.453, allocations: 0 / 1.143 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.006558/1.459, allocations: 6.645 MB / 1.149 GB, free: 151.1 MB / 0.5105 GB 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/jenkins1/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