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.002436/0.002436, allocations: 183.2 kB / 15.76 MB, free: 6.363 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.936/1.936, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008405/0.0008408, allocations: 86.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2608/0.2608, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.000429, allocations: 4 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1481, allocations: 58.86 MB / 490.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/1.651, allocations: 0.61 GB / 1.089 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.651, allocations: 79.95 kB / 1.089 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4182/2.069, allocations: 45.57 MB / 1.133 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/2.069, allocations: 0 / 1.133 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.06e-05/2.069, allocations: 1.188 kB / 1.133 GB, free: 178.5 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.0008644/2.07, allocations: 441.5 kB / 1.134 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/2.07, allocations: 9.219 kB / 1.134 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/2.07, allocations: 5.203 kB / 1.134 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/2.07, allocations: 169.2 kB / 1.134 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/2.07, allocations: 6.062 kB / 1.134 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/2.07, allocations: 7.531 kB / 1.134 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/2.071, allocations: 68.03 kB / 1.134 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/2.071, allocations: 3.906 kB / 1.134 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/2.071, allocations: 0.9375 kB / 1.134 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/2.071, allocations: 7.828 kB / 1.134 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/2.071, allocations: 46.91 kB / 1.134 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/2.072, allocations: 384.7 kB / 1.134 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/2.072, allocations: 64.7 kB / 1.135 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/2.073, allocations: 1.004 MB / 1.136 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/2.073, allocations: 37 kB / 1.136 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.275e-06/2.073, allocations: 1.375 kB / 1.136 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.009381/2.083, allocations: 0.6426 MB / 1.136 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/2.083, allocations: 56.03 kB / 1.136 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/2.083, allocations: 96.41 kB / 1.136 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/2.083, allocations: 28.27 kB / 1.136 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/2.083, allocations: 93.73 kB / 1.136 GB, free: 176.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/2.083, allocations: 47.67 kB / 1.136 GB, free: 176 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/2.083, allocations: 1 kB / 1.136 GB, free: 176 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/2.083, allocations: 319.7 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/2.084, allocations: 82.91 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/2.084, allocations: 105.8 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/2.084, allocations: 88.38 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.084, allocations: 0 / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009338/2.085, allocations: 241.2 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/2.085, allocations: 4.938 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.085, allocations: 5.094 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/2.086, allocations: 5.562 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/2.086, allocations: 56.41 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.086, allocations: 6.062 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/2.087, allocations: 17.22 kB / 1.137 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/2.087, allocations: 13.19 kB / 1.137 GB, free: 175.7 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 0.0001472/2.088, allocations: 125.9 kB / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/2.088, allocations: 11 kB / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/2.089, allocations: 345.1 kB / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/2.089, allocations: 2.469 kB / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/2.089, allocations: 0 / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/2.089, allocations: 6.75 kB / 1.138 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/2.091, allocations: 0.7393 MB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/2.091, allocations: 0 / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/2.092, allocations: 41.62 kB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/2.092, allocations: 1.062 kB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/2.092, allocations: 10.47 kB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/2.092, allocations: 3.125 kB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.092, allocations: 6.719 kB / 1.139 GB, free: 175 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/2.093, allocations: 350.1 kB / 1.139 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/2.093, allocations: 104.8 kB / 1.139 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/2.093, allocations: 7.406 kB / 1.139 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/2.093, allocations: 11.47 kB / 1.139 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/2.094, allocations: 12.66 kB / 1.139 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/2.094, allocations: 11.48 kB / 1.139 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.553e-05/2.094, allocations: 81.44 kB / 1.139 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/2.094, allocations: 0 / 1.139 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001036/2.095, allocations: 152.8 kB / 1.139 GB, free: 174.7 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.001393/2.096, allocations: 0.6362 MB / 1.14 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008217/2.097, allocations: 199.2 kB / 1.14 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.097, allocations: 0 / 1.14 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/2.097, allocations: 116 kB / 1.14 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/2.098, allocations: 35.33 kB / 1.14 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009089/2.099, allocations: 310.6 kB / 1.141 GB, free: 174.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/2.099, allocations: 0.6953 MB / 1.141 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009361/2.1, allocations: 70.14 kB / 1.141 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/2.1, allocations: 31.64 kB / 1.141 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/2.1, allocations: 3.406 kB / 1.141 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.02955/2.13, allocations: 12.52 MB / 1.154 GB, free: 172.7 MB / 0.5105 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