Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 176.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 98.3 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.473/0.473, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4602, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.607, allocations: 472.1 MB / 0.9705 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.607, allocations: 79.97 kB / 0.9706 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07685/1.684, allocations: 41.33 MB / 1.011 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/1.684, allocations: 0 / 1.011 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.543e-06/1.684, allocations: 0 / 1.011 GB, free: 88.43 MB / 0.5261 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.0004684/1.685, allocations: 420 kB / 1.011 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.685, allocations: 11.97 kB / 1.011 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/1.685, allocations: 7.906 kB / 1.011 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/1.685, allocations: 171 kB / 1.012 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.685, allocations: 11.89 kB / 1.012 GB, free: 87.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/1.685, allocations: 4 kB / 1.012 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.685, allocations: 67.67 kB / 1.012 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.685, allocations: 0 / 1.012 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.685, allocations: 4 kB / 1.012 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.685, allocations: 4 kB / 1.012 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/1.685, allocations: 51.95 kB / 1.012 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/1.685, allocations: 381.8 kB / 1.012 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/1.686, allocations: 66.48 kB / 1.012 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/1.686, allocations: 0.9974 MB / 1.013 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/1.686, allocations: 34.55 kB / 1.013 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/1.686, allocations: 3.984 kB / 1.013 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.005264/1.692, allocations: 0.661 MB / 1.014 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/1.692, allocations: 51.41 kB / 1.014 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/1.692, allocations: 93 kB / 1.014 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.692, allocations: 29.7 kB / 1.014 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/1.692, allocations: 92.25 kB / 1.014 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.692, allocations: 51.3 kB / 1.014 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/1.692, allocations: 0 / 1.014 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/1.692, allocations: 314.8 kB / 1.014 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/1.692, allocations: 87.88 kB / 1.014 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.692, allocations: 103.1 kB / 1.015 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/1.693, allocations: 87.97 kB / 1.015 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.693, allocations: 0 / 1.015 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004922/1.693, allocations: 243 kB / 1.015 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.693, allocations: 8.062 kB / 1.015 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.693, allocations: 4 kB / 1.015 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.693, allocations: 3.953 kB / 1.015 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/1.694, allocations: 51.94 kB / 1.015 GB, free: 83.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.694, allocations: 0 / 1.015 GB, free: 83.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/1.694, allocations: 27.92 kB / 1.015 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/1.694, allocations: 11.98 kB / 1.015 GB, free: 83.88 MB / 0.5261 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 9.621e-05/1.694, allocations: 114.3 kB / 1.015 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/1.694, allocations: 4 kB / 1.015 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/1.695, allocations: 350.7 kB / 1.015 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.695, allocations: 4 kB / 1.015 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.695, allocations: 0 / 1.015 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.695, allocations: 0 / 1.015 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/1.696, allocations: 0.7526 MB / 1.016 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.696, allocations: 4 kB / 1.016 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/1.696, allocations: 47.91 kB / 1.016 GB, free: 82.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.696, allocations: 0 / 1.016 GB, free: 82.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/1.697, allocations: 7.984 kB / 1.016 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.697, allocations: 7.953 kB / 1.016 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.697, allocations: 0 / 1.016 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/1.697, allocations: 343.3 kB / 1.017 GB, free: 82.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/1.697, allocations: 101 kB / 1.017 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/1.697, allocations: 12 kB / 1.017 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/1.698, allocations: 11.98 kB / 1.017 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/1.698, allocations: 15.94 kB / 1.017 GB, free: 81.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/1.698, allocations: 7.984 kB / 1.017 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.463e-05/1.698, allocations: 87.22 kB / 1.017 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.698, allocations: 3.938 kB / 1.017 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005875/1.698, allocations: 143.8 kB / 1.017 GB, free: 81.75 MB / 0.5261 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.0008178/1.699, allocations: 0.6291 MB / 1.018 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004304/1.7, allocations: 205.2 kB / 1.018 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.7, allocations: 0 / 1.018 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/1.7, allocations: 115.9 kB / 1.018 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/1.7, allocations: 38.56 kB / 1.018 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/1.701, allocations: 310.9 kB / 1.018 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/1.701, allocations: 0.6968 MB / 1.019 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004784/1.701, allocations: 64.75 kB / 1.019 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.701, allocations: 35.39 kB / 1.019 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.701, allocations: 0 / 1.019 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.01464/1.716, allocations: 12.48 MB / 1.031 GB, free: 67.12 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches