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.001516/0.001516, allocations: 179.9 kB / 13.66 MB, free: 1.664 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.146/2.146, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00106/0.00106, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.273/0.273, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.033e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/1.945, allocations: 0.6099 GB / 1.083 GB, free: 25 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.945, allocations: 78.67 kB / 1.083 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4771/2.422, allocations: 45.4 MB / 1.127 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/2.422, allocations: 3.938 kB / 1.127 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.734e-06/2.422, allocations: 1.25 kB / 1.127 GB, free: 180.9 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.0007237/2.423, allocations: 422.3 kB / 1.128 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/2.423, allocations: 9.594 kB / 1.128 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/2.423, allocations: 7.078 kB / 1.128 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/2.423, allocations: 163.2 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/2.423, allocations: 6 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/2.423, allocations: 7.344 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/2.423, allocations: 75.7 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/2.423, allocations: 7.094 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/2.423, allocations: 3.141 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/2.423, allocations: 2.281 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/2.424, allocations: 43.12 kB / 1.128 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/2.424, allocations: 391 kB / 1.128 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/2.424, allocations: 60.61 kB / 1.128 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/2.424, allocations: 25.7 kB / 1.128 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/2.426, allocations: 0.9963 MB / 1.129 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/2.426, allocations: 34.5 kB / 1.129 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.885e-06/2.426, allocations: 0 / 1.129 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.009529/2.435, allocations: 0.6159 MB / 1.13 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/2.436, allocations: 61.38 kB / 1.13 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/2.436, allocations: 96.78 kB / 1.13 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/2.436, allocations: 30.61 kB / 1.13 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/2.436, allocations: 157.9 kB / 1.13 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/2.436, allocations: 50.64 kB / 1.13 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/2.436, allocations: 1.031 kB / 1.13 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/2.436, allocations: 318.2 kB / 1.131 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/2.436, allocations: 76.58 kB / 1.131 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/2.437, allocations: 95.55 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/2.437, allocations: 85.17 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/2.437, allocations: 1.219 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000807/2.438, allocations: 230.6 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.438, allocations: 5.625 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.438, allocations: 0 / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/2.438, allocations: 1.969 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/2.439, allocations: 58.34 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/2.439, allocations: 5.094 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/2.44, allocations: 23.38 kB / 1.131 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/2.44, allocations: 13.23 kB / 1.131 GB, free: 178 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 () * 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.0001322/2.44, allocations: 108.1 kB / 1.131 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/2.44, allocations: 4.375 kB / 1.131 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/2.441, allocations: 336.8 kB / 1.132 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/2.441, allocations: 3.969 kB / 1.132 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/2.441, allocations: 0 / 1.132 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/2.441, allocations: 2.406 kB / 1.132 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/2.443, allocations: 0.7248 MB / 1.132 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/2.443, allocations: 3.281 kB / 1.132 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/2.444, allocations: 37.95 kB / 1.132 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/2.444, allocations: 11.09 kB / 1.132 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/2.444, allocations: 5.766 kB / 1.132 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/2.444, allocations: 5.281 kB / 1.132 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.444, allocations: 0 / 1.132 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/2.445, allocations: 337.3 kB / 1.133 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/2.445, allocations: 112 kB / 1.133 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/2.445, allocations: 3.719 kB / 1.133 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/2.446, allocations: 14.02 kB / 1.133 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/2.446, allocations: 12.95 kB / 1.133 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/2.446, allocations: 12.8 kB / 1.133 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.781e-05/2.446, allocations: 80.56 kB / 1.133 GB, free: 177 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/2.446, allocations: 0 / 1.133 GB, free: 177 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009253/2.447, allocations: 148.4 kB / 1.133 GB, free: 177 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 () * 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.001247/2.448, allocations: 0.6401 MB / 1.134 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006826/2.449, allocations: 189.3 kB / 1.134 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.449, allocations: 0 / 1.134 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/2.449, allocations: 102.5 kB / 1.134 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/2.45, allocations: 35.53 kB / 1.134 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/2.45, allocations: 195.3 kB / 1.134 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/2.45, allocations: 0.6994 MB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/2.451, allocations: 38.27 kB / 1.135 GB, free: 176 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/2.451, allocations: 3.938 kB / 1.135 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.01495/2.466, allocations: 6.915 MB / 1.142 GB, free: 175.1 MB / 0.5105 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