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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.712/1.712, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.00092/0.0009199, allocations: 86.41 kB / 271.3 MB, free: 8.25 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.3215/0.3215, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.423, allocations: 0.6102 GB / 1.09 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.424, allocations: 76.55 kB / 1.09 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09154/1.515, allocations: 45.53 MB / 1.135 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/1.515, allocations: 4 kB / 1.135 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.515, allocations: 0 / 1.135 GB, free: 119.1 MB / 0.4948 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.0005616/1.516, allocations: 434.1 kB / 1.135 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.516, allocations: 12.03 kB / 1.135 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/1.516, allocations: 8.938 kB / 1.135 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/1.516, allocations: 164.3 kB / 1.135 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/1.516, allocations: 4.375 kB / 1.135 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/1.516, allocations: 12.28 kB / 1.135 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.516, allocations: 72.73 kB / 1.135 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.516, allocations: 4.125 kB / 1.135 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.516, allocations: 15.91 kB / 1.135 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.516, allocations: 0 / 1.135 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/1.516, allocations: 51.97 kB / 1.135 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/1.517, allocations: 373.8 kB / 1.136 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/1.517, allocations: 70.44 kB / 1.136 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/1.517, allocations: 28.78 kB / 1.136 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.518, allocations: 1.213 MB / 1.137 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.518, allocations: 42.56 kB / 1.137 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/1.518, allocations: 0 / 1.137 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.004682/1.523, allocations: 0.6399 MB / 1.138 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.523, allocations: 55.41 kB / 1.138 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/1.523, allocations: 101.8 kB / 1.138 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/1.523, allocations: 25.7 kB / 1.138 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/1.523, allocations: 100.3 kB / 1.138 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.523, allocations: 47.28 kB / 1.138 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/1.523, allocations: 4 kB / 1.138 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/1.523, allocations: 322.8 kB / 1.138 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.523, allocations: 79.94 kB / 1.138 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/1.523, allocations: 103.1 kB / 1.138 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/1.524, allocations: 198.5 kB / 1.139 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.524, allocations: 0 / 1.139 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004699/1.524, allocations: 242.5 kB / 1.139 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.524, allocations: 4 kB / 1.139 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.524, allocations: 4 kB / 1.139 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.524, allocations: 0 / 1.139 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/1.525, allocations: 51.94 kB / 1.139 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.525, allocations: 4.062 kB / 1.139 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/1.525, allocations: 27.92 kB / 1.139 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/1.525, allocations: 15.92 kB / 1.139 GB, free: 114.1 MB / 0.4948 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.891e-05/1.525, allocations: 109.8 kB / 1.139 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/1.525, allocations: 7.906 kB / 1.139 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/1.526, allocations: 342 kB / 1.139 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.526, allocations: 7.938 kB / 1.139 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.526, allocations: 0 / 1.139 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.526, allocations: 15.86 kB / 1.139 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/1.527, allocations: 0.7335 MB / 1.14 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.527, allocations: 3.938 kB / 1.14 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/1.527, allocations: 35.97 kB / 1.14 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.527, allocations: 7.938 kB / 1.14 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/1.528, allocations: 7.984 kB / 1.14 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.528, allocations: 4.25 kB / 1.14 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.528, allocations: 4 kB / 1.14 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/1.528, allocations: 352.3 kB / 1.141 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/1.528, allocations: 104.9 kB / 1.141 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/1.528, allocations: 3.984 kB / 1.141 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/1.528, allocations: 12 kB / 1.141 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.529, allocations: 7.984 kB / 1.141 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.529, allocations: 15.92 kB / 1.141 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.257e-05/1.529, allocations: 87.28 kB / 1.141 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.529, allocations: 0 / 1.141 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005671/1.529, allocations: 143.8 kB / 1.141 GB, free: 112 MB / 0.4948 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.0008376/1.53, allocations: 0.6395 MB / 1.142 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004286/1.53, allocations: 201 kB / 1.142 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.53, allocations: 0 / 1.142 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/1.531, allocations: 115.9 kB / 1.142 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/1.531, allocations: 31.48 kB / 1.142 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/1.532, allocations: 312.7 kB / 1.142 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/1.532, allocations: 0.7006 MB / 1.143 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004837/1.532, allocations: 72.67 kB / 1.143 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.532, allocations: 35.41 kB / 1.143 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/1.532, allocations: 0 / 1.143 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.0154/1.548, allocations: 12.59 MB / 1.155 GB, free: 97.23 MB / 0.4948 GB 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/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_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches