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.001509/0.00151, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001148/0.001148, allocations: 95.39 kB / 270.9 MB, free: 8.379 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.495/0.495, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006505, allocations: 11.98 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.099/2.224, allocations: 0.61 GB / 1.089 GB, free: 134 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/2.224, allocations: 74.81 kB / 1.089 GB, free: 134 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2091/2.434, allocations: 45.58 MB / 1.133 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/2.434, allocations: 0 / 1.133 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.608e-06/2.434, allocations: 4 kB / 1.133 GB, free: 104.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.0008317/2.434, allocations: 437.9 kB / 1.134 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/2.435, allocations: 15.97 kB / 1.134 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/2.435, allocations: 3.953 kB / 1.134 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/2.435, allocations: 174.9 kB / 1.134 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/2.435, allocations: 0 / 1.134 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/2.435, allocations: 15.91 kB / 1.134 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/2.435, allocations: 63.17 kB / 1.134 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/2.435, allocations: 3.984 kB / 1.134 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/2.435, allocations: 4 kB / 1.134 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/2.435, allocations: 4 kB / 1.134 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/2.435, allocations: 51.97 kB / 1.134 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/2.436, allocations: 389.7 kB / 1.134 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/2.436, allocations: 62.48 kB / 1.135 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/2.438, allocations: 1.003 MB / 1.135 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/2.438, allocations: 38.56 kB / 1.136 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 3.536e-06/2.438, allocations: 0 / 1.136 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.01246/2.451, allocations: 0.6416 MB / 1.136 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/2.451, allocations: 55.41 kB / 1.136 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/2.451, allocations: 93 kB / 1.136 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/2.451, allocations: 29.7 kB / 1.136 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/2.451, allocations: 158.7 kB / 1.136 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/2.451, allocations: 51.28 kB / 1.137 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/2.451, allocations: 4 kB / 1.137 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/2.451, allocations: 322.8 kB / 1.137 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/2.452, allocations: 75.94 kB / 1.137 GB, free: 100 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/2.452, allocations: 98.52 kB / 1.137 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/2.453, allocations: 95.12 kB / 1.137 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.453, allocations: 0 / 1.137 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001261/2.454, allocations: 245.5 kB / 1.137 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/2.454, allocations: 11.03 kB / 1.137 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/2.454, allocations: 4 kB / 1.137 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/2.454, allocations: 3.938 kB / 1.137 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/2.455, allocations: 55.94 kB / 1.137 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/2.455, allocations: 4 kB / 1.137 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/2.456, allocations: 15.98 kB / 1.137 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/2.456, allocations: 11.98 kB / 1.137 GB, free: 99.49 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 0.000184/2.457, allocations: 129.7 kB / 1.138 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.457, allocations: 7.906 kB / 1.138 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/2.459, allocations: 338 kB / 1.138 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/2.459, allocations: 4 kB / 1.138 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/2.459, allocations: 0 / 1.138 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.459, allocations: 3.984 kB / 1.138 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/2.461, allocations: 0.7498 MB / 1.139 GB, free: 98.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/2.461, allocations: 4 kB / 1.139 GB, free: 98.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/2.462, allocations: 43.91 kB / 1.139 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/2.462, allocations: 3.938 kB / 1.139 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/2.462, allocations: 7.984 kB / 1.139 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/2.462, allocations: 256 / 1.139 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.462, allocations: 4 kB / 1.139 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/2.463, allocations: 348.5 kB / 1.139 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/2.463, allocations: 104.9 kB / 1.139 GB, free: 97.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/2.464, allocations: 15.94 kB / 1.139 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/2.464, allocations: 4 kB / 1.139 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/2.465, allocations: 19.97 kB / 1.139 GB, free: 97.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/2.465, allocations: 4 kB / 1.139 GB, free: 97.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.001e-05/2.465, allocations: 87.27 kB / 1.139 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.465, allocations: 0 / 1.139 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001165/2.466, allocations: 143.8 kB / 1.139 GB, free: 97.36 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.001554/2.468, allocations: 0.632 MB / 1.14 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00112/2.469, allocations: 210.3 kB / 1.14 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.469, allocations: 0 / 1.14 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/2.469, allocations: 116 kB / 1.14 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/2.47, allocations: 31.91 kB / 1.14 GB, free: 96.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/2.471, allocations: 328.1 kB / 1.141 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/2.471, allocations: 0.6968 MB / 1.141 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/2.472, allocations: 35.38 kB / 1.141 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/2.472, allocations: 4 kB / 1.141 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.01819/2.49, allocations: 6.903 MB / 1.148 GB, free: 88.34 MB / 0.4948 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