Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002274/0.002274, allocations: 181 kB / 17.01 MB, free: 5.125 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.587/1.587, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009497/0.0009498, allocations: 80.23 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003976, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.49/1.825, allocations: 0.6385 GB / 1.005 GB, free: 145.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.825, allocations: 78.86 kB / 1.006 GB, free: 145.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.483/2.308, allocations: 148.8 MB / 1.151 GB, free: 88.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/2.308, allocations: 3.656 kB / 1.151 GB, free: 88.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.367e-05/2.308, allocations: 7.906 kB / 1.151 GB, free: 88.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001256/2.309, allocations: 0.6987 MB / 1.152 GB, free: 88.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/2.309, allocations: 12.05 kB / 1.152 GB, free: 88.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/2.31, allocations: 78.36 kB / 1.152 GB, free: 88.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/2.31, allocations: 334.8 kB / 1.152 GB, free: 88.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/2.31, allocations: 29.5 kB / 1.152 GB, free: 88.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/2.311, allocations: 43.58 kB / 1.152 GB, free: 88.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/2.311, allocations: 459.1 kB / 1.152 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/2.311, allocations: 3.516 kB / 1.152 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/2.311, allocations: 25.16 kB / 1.153 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/2.311, allocations: 10.5 kB / 1.153 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/2.312, allocations: 298.2 kB / 1.153 GB, free: 88.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/2.322, allocations: 6.303 MB / 1.159 GB, free: 84.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/2.323, allocations: 276.2 kB / 1.159 GB, free: 84.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/2.33, allocations: 3.447 MB / 1.163 GB, free: 82.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/2.331, allocations: 45.92 kB / 1.163 GB, free: 82.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 5.551e-06/2.331, allocations: 0 / 1.163 GB, free: 82.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01005/2.341, allocations: 2.394 MB / 1.165 GB, free: 82.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/2.341, allocations: 65.19 kB / 1.165 GB, free: 82.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/2.341, allocations: 266.9 kB / 1.165 GB, free: 82.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/2.341, allocations: 29.52 kB / 1.165 GB, free: 82.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/2.341, allocations: 225 kB / 1.166 GB, free: 82.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/2.341, allocations: 161.4 kB / 1.166 GB, free: 81.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/2.341, allocations: 11.28 kB / 1.166 GB, free: 81.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/2.341, allocations: 349.8 kB / 1.166 GB, free: 81.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/2.342, allocations: 149.4 kB / 1.166 GB, free: 81.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/2.342, allocations: 271.8 kB / 1.166 GB, free: 81.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/2.342, allocations: 191.9 kB / 1.167 GB, free: 81.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.342, allocations: 0 / 1.167 GB, free: 81.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009077/2.343, allocations: 0.5898 MB / 1.167 GB, free: 81.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.343, allocations: 10.53 kB / 1.167 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.343, allocations: 3.875 kB / 1.167 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008594/2.352, allocations: 0.8604 MB / 1.168 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/2.352, allocations: 118.3 kB / 1.168 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/2.354, allocations: 2.457 MB / 1.171 GB, free: 79.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/2.354, allocations: 37.48 kB / 1.171 GB, free: 79.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/2.354, allocations: 27.33 kB / 1.171 GB, free: 79.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002333/2.354, allocations: 179.5 kB / 1.171 GB, free: 78.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/2.355, allocations: 39.22 kB / 1.171 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/2.356, allocations: 0.8561 MB / 1.172 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/2.356, allocations: 8.781 kB / 1.172 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/2.356, allocations: 0 / 1.172 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008236/2.356, allocations: 0.957 MB / 1.173 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/2.358, allocations: 1.496 MB / 1.174 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/2.358, allocations: 2.438 kB / 1.174 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/2.359, allocations: 78.73 kB / 1.174 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003125/2.362, allocations: 0.5998 MB / 1.175 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/2.362, allocations: 16.34 kB / 1.175 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/2.363, allocations: 1.281 MB / 1.176 GB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.363, allocations: 1.219 kB / 1.176 GB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/2.364, allocations: 1.23 MB / 1.177 GB, free: 76.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/2.365, allocations: 116.9 kB / 1.177 GB, free: 76.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/2.365, allocations: 10.66 kB / 1.177 GB, free: 76.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/2.365, allocations: 30.06 kB / 1.177 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/2.365, allocations: 33.8 kB / 1.177 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/2.365, allocations: 14.55 kB / 1.177 GB, free: 76.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000243/2.365, allocations: 214 kB / 1.178 GB, free: 76.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.365, allocations: 0 / 1.178 GB, free: 76.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00117/2.367, allocations: 240.9 kB / 1.178 GB, free: 76.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/2.368, allocations: 446.1 kB / 1.178 GB, free: 76.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/2.369, allocations: 0.69 MB / 1.179 GB, free: 76.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.369, allocations: 1.062 kB / 1.179 GB, free: 76.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/2.371, allocations: 448.4 kB / 1.179 GB, free: 76.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/2.372, allocations: 231 kB / 1.18 GB, free: 76.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/2.374, allocations: 1.478 MB / 1.181 GB, free: 75.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/2.374, allocations: 0.8456 MB / 1.182 GB, free: 74.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004055/2.375, allocations: 71.19 kB / 1.182 GB, free: 74.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/2.375, allocations: 36.19 kB / 1.182 GB, free: 74.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/2.375, allocations: 3.75 kB / 1.182 GB, free: 74.84 MB / 426.7 MB Notification: Performance of Templates: time 0.02001/2.395, allocations: 12.73 MB / 1.194 GB, free: 74.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches