Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002225/0.002224, allocations: 181 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.251/2.251, 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.001069/0.001068, allocations: 90.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.204e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.079, allocations: 0.6384 GB / 0.9988 GB, free: 18.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/2.079, allocations: 76.89 kB / 0.9989 GB, free: 18.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7339/2.813, allocations: 147.9 MB / 1.143 GB, free: 48.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/2.813, allocations: 0 / 1.143 GB, free: 48.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.866e-05/2.813, allocations: 12 kB / 1.143 GB, free: 48.83 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.001397/2.815, allocations: 0.6622 MB / 1.144 GB, free: 48.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/2.815, allocations: 12.03 kB / 1.144 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/2.816, allocations: 71.5 kB / 1.144 GB, free: 48.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/2.816, allocations: 338.1 kB / 1.144 GB, free: 47.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/2.816, allocations: 28.78 kB / 1.144 GB, free: 47.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/2.816, allocations: 39.95 kB / 1.144 GB, free: 47.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/2.817, allocations: 452.4 kB / 1.145 GB, free: 47.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/2.817, allocations: 4 kB / 1.145 GB, free: 47.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/2.817, allocations: 20 kB / 1.145 GB, free: 47.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/2.817, allocations: 12 kB / 1.145 GB, free: 47.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/2.818, allocations: 290.9 kB / 1.145 GB, free: 46.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/2.835, allocations: 6.351 MB / 1.151 GB, free: 39.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/2.836, allocations: 282.4 kB / 1.152 GB, free: 39.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/2.836, allocations: 142.2 kB / 1.152 GB, free: 39.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/2.85, allocations: 3.507 MB / 1.155 GB, free: 35.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/2.85, allocations: 42.52 kB / 1.155 GB, free: 35.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/2.85, allocations: 0 / 1.155 GB, free: 35.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01551/2.865, allocations: 2.256 MB / 1.158 GB, free: 33.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/2.865, allocations: 59.36 kB / 1.158 GB, free: 33.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/2.866, allocations: 267.3 kB / 1.158 GB, free: 32.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/2.866, allocations: 33.7 kB / 1.158 GB, free: 32.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/2.866, allocations: 278.4 kB / 1.158 GB, free: 32.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/2.866, allocations: 161.7 kB / 1.158 GB, free: 32.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/2.866, allocations: 16 kB / 1.158 GB, free: 32.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/2.866, allocations: 330.8 kB / 1.159 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/2.867, allocations: 145.1 kB / 1.159 GB, free: 31.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/2.867, allocations: 271.7 kB / 1.159 GB, free: 31.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/2.868, allocations: 190.1 kB / 1.159 GB, free: 31.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/2.868, allocations: 4 kB / 1.159 GB, free: 31.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001425/2.869, allocations: 0.5644 MB / 1.16 GB, free: 30.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/2.869, allocations: 7.953 kB / 1.16 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/2.869, allocations: 4 kB / 1.16 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01478/2.884, allocations: 0.8693 MB / 1.161 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/2.885, allocations: 115.8 kB / 1.161 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/2.887, allocations: 2.459 MB / 1.163 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/2.887, allocations: 40.02 kB / 1.163 GB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/2.888, allocations: 27.92 kB / 1.163 GB, free: 27.16 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 () * 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.0001569/2.888, allocations: 136.8 kB / 1.163 GB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/2.888, allocations: 39.62 kB / 1.163 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/2.889, allocations: 0.8432 MB / 1.164 GB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/2.889, allocations: 15.95 kB / 1.164 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/2.89, allocations: 0 / 1.164 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/2.891, allocations: 0.9496 MB / 1.165 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/2.893, allocations: 1.481 MB / 1.167 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/2.893, allocations: 3.969 kB / 1.167 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/2.894, allocations: 79.91 kB / 1.167 GB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/2.899, allocations: 0.5711 MB / 1.167 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/2.899, allocations: 16 kB / 1.167 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/2.9, allocations: 1.284 MB / 1.168 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.9, allocations: 0 / 1.168 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/2.902, allocations: 1.225 MB / 1.17 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/2.902, allocations: 112.6 kB / 1.17 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/2.902, allocations: 16.03 kB / 1.17 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/2.903, allocations: 31.84 kB / 1.17 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/2.903, allocations: 23.95 kB / 1.17 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/2.903, allocations: 19.98 kB / 1.17 GB, free: 20.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002816/2.903, allocations: 207.1 kB / 1.17 GB, free: 19.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.903, allocations: 4 kB / 1.17 GB, free: 19.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001203/2.904, allocations: 239.9 kB / 1.17 GB, free: 19.61 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 () * 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.001522/2.906, allocations: 448.4 kB / 1.171 GB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/2.907, allocations: 0.6787 MB / 1.171 GB, free: 18.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.908, allocations: 4.188 kB / 1.171 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/2.909, allocations: 433 kB / 1.172 GB, free: 18.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/2.911, allocations: 237.2 kB / 1.172 GB, free: 17.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/2.913, allocations: 0.9982 MB / 1.173 GB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/2.913, allocations: 0.8402 MB / 1.174 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/2.914, allocations: 47.42 kB / 1.174 GB, free: 15.87 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/2.914, allocations: 4 kB / 1.174 GB, free: 15.86 MB / 426.7 MB Notification: Performance of Templates: time 0.02135/2.935, allocations: 13.13 MB / 1.187 GB, free: 2.707 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches