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.001006/0.001007, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000815/0.0008149, allocations: 90.62 kB / 261.8 MB, free: 1.609 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.2238/0.2238, allocations: 43.48 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.546e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.631, allocations: 0.6093 GB / 1.075 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.631, allocations: 71.41 kB / 1.075 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4065/2.038, allocations: 44.75 MB / 1.119 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.324e-06/2.038, allocations: 0 / 1.119 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.155e-05/2.038, allocations: 3.625 kB / 1.119 GB, free: 172.5 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.0006869/2.039, allocations: 426.7 kB / 1.119 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/2.039, allocations: 9.375 kB / 1.119 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/2.039, allocations: 7.203 kB / 1.119 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/2.039, allocations: 174.2 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/2.039, allocations: 4 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/2.039, allocations: 7.328 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/2.039, allocations: 41.89 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/2.039, allocations: 60.67 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/2.039, allocations: 7.906 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/2.039, allocations: 3.953 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/2.039, allocations: 2.906 kB / 1.12 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/2.04, allocations: 353.2 kB / 1.12 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/2.04, allocations: 52.44 kB / 1.12 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/2.04, allocations: 23.12 kB / 1.12 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/2.041, allocations: 1.001 MB / 1.121 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/2.041, allocations: 33.06 kB / 1.121 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 3.206e-06/2.041, allocations: 0 / 1.121 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.006754/2.048, allocations: 0.8779 MB / 1.122 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/2.048, allocations: 51.41 kB / 1.122 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/2.048, allocations: 96.53 kB / 1.122 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/2.048, allocations: 25.7 kB / 1.122 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/2.048, allocations: 88.31 kB / 1.122 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/2.048, allocations: 46.86 kB / 1.122 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/2.048, allocations: 4 kB / 1.122 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/2.048, allocations: 318.8 kB / 1.123 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/2.048, allocations: 69.48 kB / 1.123 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/2.048, allocations: 94.38 kB / 1.123 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/2.049, allocations: 221.8 kB / 1.123 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/2.049, allocations: 0 / 1.123 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001283/2.051, allocations: 363 kB / 1.123 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/2.051, allocations: 3.875 kB / 1.123 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/2.051, allocations: 3.75 kB / 1.123 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/2.051, allocations: 0 / 1.123 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/2.051, allocations: 58.16 kB / 1.123 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/2.051, allocations: 288 / 1.123 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/2.052, allocations: 15.61 kB / 1.123 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/2.052, allocations: 11.58 kB / 1.123 GB, free: 168.7 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 () * 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.0001016/2.052, allocations: 120.8 kB / 1.124 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/2.052, allocations: 7.25 kB / 1.124 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/2.053, allocations: 458.2 kB / 1.124 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/2.053, allocations: 4 kB / 1.124 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/2.054, allocations: 0 / 1.124 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.054, allocations: 0 / 1.124 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/2.055, allocations: 0.8291 MB / 1.125 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/2.055, allocations: 0 / 1.125 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/2.056, allocations: 47.12 kB / 1.125 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/2.056, allocations: 0 / 1.125 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/2.056, allocations: 7.828 kB / 1.125 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/2.056, allocations: 0 / 1.125 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.056, allocations: 0 / 1.125 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/2.057, allocations: 466.1 kB / 1.125 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/2.057, allocations: 108.9 kB / 1.125 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/2.057, allocations: 4 kB / 1.125 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/2.058, allocations: 4 kB / 1.125 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/2.058, allocations: 23.97 kB / 1.125 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/2.058, allocations: 8 kB / 1.125 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.099e-05/2.058, allocations: 87.27 kB / 1.125 GB, free: 167 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.058, allocations: 0 / 1.125 GB, free: 167 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006027/2.058, allocations: 127.9 kB / 1.126 GB, free: 166.8 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 () * 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.001002/2.059, allocations: 0.73 MB / 1.126 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003455/2.06, allocations: 183.8 kB / 1.127 GB, free: 166 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/2.06, allocations: 4 kB / 1.127 GB, free: 166 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/2.06, allocations: 104.4 kB / 1.127 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/2.06, allocations: 24.05 kB / 1.127 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/2.061, allocations: 160.2 kB / 1.127 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/2.061, allocations: 0.7042 MB / 1.127 GB, free: 165 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004621/2.061, allocations: 64.75 kB / 1.128 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/2.062, allocations: 27.41 kB / 1.128 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/2.062, allocations: 0 / 1.128 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.01143/2.073, allocations: 8.616 MB / 1.136 GB, free: 156.3 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/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_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches