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.0009378/0.0009374, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.523/1.523, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007656/0.0007656, allocations: 92.94 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.69, allocations: 0.6388 GB / 1.006 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004223/1.691, allocations: 77.67 kB / 1.006 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4864/2.177, allocations: 148.6 MB / 1.151 GB, free: 89.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/2.177, allocations: 1.859 kB / 1.151 GB, free: 89.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.401e-05/2.177, allocations: 12.38 kB / 1.151 GB, free: 89.33 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.001251/2.178, allocations: 0.6901 MB / 1.152 GB, free: 88.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/2.178, allocations: 11.38 kB / 1.152 GB, free: 88.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/2.179, allocations: 75.73 kB / 1.152 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/2.179, allocations: 349.4 kB / 1.152 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/2.179, allocations: 35.31 kB / 1.152 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/2.179, allocations: 39.38 kB / 1.152 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/2.18, allocations: 465.2 kB / 1.153 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/2.18, allocations: 1.781 kB / 1.153 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/2.18, allocations: 18.75 kB / 1.153 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/2.18, allocations: 9.812 kB / 1.153 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/2.181, allocations: 310.7 kB / 1.153 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009475/2.19, allocations: 6.296 MB / 1.159 GB, free: 84.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/2.191, allocations: 277.4 kB / 1.159 GB, free: 84.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/2.191, allocations: 152.5 kB / 1.159 GB, free: 84.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007303/2.198, allocations: 3.454 MB / 1.163 GB, free: 83.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/2.198, allocations: 34.44 kB / 1.163 GB, free: 83.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.038e-06/2.198, allocations: 3.25 kB / 1.163 GB, free: 83.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01014/2.208, allocations: 2.391 MB / 1.165 GB, free: 82.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/2.209, allocations: 63.23 kB / 1.165 GB, free: 82.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/2.209, allocations: 297.1 kB / 1.166 GB, free: 82.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/2.209, allocations: 37.08 kB / 1.166 GB, free: 82.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/2.209, allocations: 223.2 kB / 1.166 GB, free: 82.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/2.209, allocations: 163.4 kB / 1.166 GB, free: 82.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/2.209, allocations: 7.438 kB / 1.166 GB, free: 82.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/2.209, allocations: 343.1 kB / 1.166 GB, free: 81.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/2.209, allocations: 156.1 kB / 1.166 GB, free: 81.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/2.21, allocations: 271.6 kB / 1.167 GB, free: 81.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/2.21, allocations: 471.6 kB / 1.167 GB, free: 81.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/2.21, allocations: 0 / 1.167 GB, free: 81.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009522/2.211, allocations: 0.5944 MB / 1.168 GB, free: 81.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/2.211, allocations: 13.03 kB / 1.168 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.211, allocations: 2.125 kB / 1.168 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008684/2.22, allocations: 0.8625 MB / 1.169 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/2.22, allocations: 110.6 kB / 1.169 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/2.222, allocations: 2.465 MB / 1.171 GB, free: 79.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/2.222, allocations: 42.06 kB / 1.171 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/2.222, allocations: 22.28 kB / 1.171 GB, free: 79.27 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.000257/2.223, allocations: 175.8 kB / 1.171 GB, free: 79.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/2.223, allocations: 39.16 kB / 1.171 GB, free: 79.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/2.224, allocations: 0.854 MB / 1.172 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/2.224, allocations: 7.641 kB / 1.172 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/2.224, allocations: 2.156 kB / 1.172 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008819/2.225, allocations: 0.9578 MB / 1.173 GB, free: 78.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/2.227, allocations: 1.485 MB / 1.175 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.227, allocations: 0.6562 kB / 1.175 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/2.227, allocations: 79.41 kB / 1.175 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/2.23, allocations: 0.5949 MB / 1.175 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/2.23, allocations: 11.16 kB / 1.175 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007873/2.231, allocations: 1.288 MB / 1.176 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.231, allocations: 0 / 1.176 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/2.233, allocations: 1.228 MB / 1.178 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/2.233, allocations: 113.5 kB / 1.178 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/2.233, allocations: 12.25 kB / 1.178 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/2.233, allocations: 34.31 kB / 1.178 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/2.233, allocations: 33.03 kB / 1.178 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/2.233, allocations: 17.84 kB / 1.178 GB, free: 76.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002479/2.233, allocations: 206.9 kB / 1.178 GB, free: 76.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/2.233, allocations: 0 / 1.178 GB, free: 76.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001177/2.235, allocations: 248.1 kB / 1.178 GB, free: 76.76 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.001196/2.236, allocations: 441.3 kB / 1.179 GB, free: 76.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/2.237, allocations: 0.6872 MB / 1.179 GB, free: 76.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.237, allocations: 0 / 1.179 GB, free: 76.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/2.238, allocations: 437.9 kB / 1.18 GB, free: 76.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/2.239, allocations: 230.6 kB / 1.18 GB, free: 76.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/2.242, allocations: 1.525 MB / 1.182 GB, free: 75.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/2.242, allocations: 0.8293 MB / 1.182 GB, free: 75.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/2.242, allocations: 46.75 kB / 1.182 GB, free: 75.01 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/2.242, allocations: 0 / 1.182 GB, free: 75.01 MB / 426.7 MB Notification: Performance of Templates: time 0.01535/2.257, allocations: 13.36 MB / 1.195 GB, free: 74.09 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