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.001524/0.001524, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.824/1.824, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008881/0.0008883, allocations: 78.67 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.284e-05, allocations: 7.984 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.76/1.864, allocations: 0.6384 GB / 0.9997 GB, free: 31.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.865, allocations: 71.97 kB / 0.9998 GB, free: 31.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6038/2.468, allocations: 147.9 MB / 1.144 GB, free: 58.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/2.469, allocations: 0 / 1.144 GB, free: 58.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.303e-05/2.469, allocations: 12 kB / 1.144 GB, free: 58.55 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.001917/2.471, allocations: 0.6622 MB / 1.145 GB, free: 57.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/2.471, allocations: 8.031 kB / 1.145 GB, free: 57.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007749/2.471, allocations: 75.5 kB / 1.145 GB, free: 57.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/2.472, allocations: 342.1 kB / 1.145 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/2.472, allocations: 28.78 kB / 1.145 GB, free: 57.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/2.472, allocations: 39.95 kB / 1.145 GB, free: 57.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/2.473, allocations: 452.4 kB / 1.146 GB, free: 56.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/2.473, allocations: 0 / 1.146 GB, free: 56.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/2.473, allocations: 23.98 kB / 1.146 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/2.473, allocations: 8 kB / 1.146 GB, free: 56.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/2.474, allocations: 291.1 kB / 1.146 GB, free: 56.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/2.486, allocations: 6.351 MB / 1.152 GB, free: 49.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/2.487, allocations: 278 kB / 1.153 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/2.487, allocations: 158.2 kB / 1.153 GB, free: 49.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007772/2.495, allocations: 3.499 MB / 1.156 GB, free: 45.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/2.495, allocations: 34.52 kB / 1.156 GB, free: 45.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.486e-06/2.495, allocations: 0 / 1.156 GB, free: 45.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01057/2.506, allocations: 2.269 MB / 1.158 GB, free: 42.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/2.506, allocations: 63.36 kB / 1.158 GB, free: 42.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/2.506, allocations: 263.3 kB / 1.159 GB, free: 42.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/2.506, allocations: 37.7 kB / 1.159 GB, free: 42.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/2.506, allocations: 220 kB / 1.159 GB, free: 42.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/2.506, allocations: 165.7 kB / 1.159 GB, free: 42.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/2.506, allocations: 8 kB / 1.159 GB, free: 42.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/2.507, allocations: 342.8 kB / 1.159 GB, free: 41.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/2.507, allocations: 145.1 kB / 1.16 GB, free: 41.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/2.507, allocations: 275.7 kB / 1.16 GB, free: 41.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/2.507, allocations: 193.6 kB / 1.16 GB, free: 41.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.507, allocations: 0 / 1.16 GB, free: 41.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001017/2.508, allocations: 0.5801 MB / 1.161 GB, free: 40.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.508, allocations: 11.95 kB / 1.161 GB, free: 40.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/2.508, allocations: 7.938 kB / 1.161 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008011/2.516, allocations: 0.873 MB / 1.162 GB, free: 39.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/2.517, allocations: 111.8 kB / 1.162 GB, free: 39.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/2.519, allocations: 2.455 MB / 1.164 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/2.519, allocations: 35.95 kB / 1.164 GB, free: 36.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/2.519, allocations: 23.98 kB / 1.164 GB, free: 36.9 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.0001768/2.52, allocations: 132.9 kB / 1.164 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/2.52, allocations: 39.56 kB / 1.164 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/2.521, allocations: 0.8549 MB / 1.165 GB, free: 35.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/2.521, allocations: 7.953 kB / 1.165 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/2.521, allocations: 0 / 1.165 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008965/2.522, allocations: 0.9535 MB / 1.166 GB, free: 34.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/2.524, allocations: 1.484 MB / 1.167 GB, free: 33.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.524, allocations: 0 / 1.167 GB, free: 33.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/2.524, allocations: 75.91 kB / 1.168 GB, free: 33.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/2.527, allocations: 0.5868 MB / 1.168 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/2.527, allocations: 11.94 kB / 1.168 GB, free: 32.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008111/2.528, allocations: 1.28 MB / 1.169 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.528, allocations: 0 / 1.169 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/2.53, allocations: 1.225 MB / 1.171 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/2.53, allocations: 124.5 kB / 1.171 GB, free: 29.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/2.53, allocations: 8.031 kB / 1.171 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/2.53, allocations: 23.94 kB / 1.171 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/2.53, allocations: 35.95 kB / 1.171 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/2.53, allocations: 19.98 kB / 1.171 GB, free: 29.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003048/2.531, allocations: 207.1 kB / 1.171 GB, free: 29.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.531, allocations: 0 / 1.171 GB, free: 29.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001816/2.533, allocations: 243.9 kB / 1.171 GB, free: 29.32 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.002236/2.535, allocations: 440.4 kB / 1.172 GB, free: 28.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/2.536, allocations: 0.6788 MB / 1.172 GB, free: 28.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.536, allocations: 0 / 1.172 GB, free: 28.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/2.538, allocations: 441.1 kB / 1.173 GB, free: 27.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/2.539, allocations: 229.2 kB / 1.173 GB, free: 27.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/2.541, allocations: 0.9576 MB / 1.174 GB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/2.541, allocations: 0.848 MB / 1.175 GB, free: 25.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004202/2.541, allocations: 72.33 kB / 1.175 GB, free: 25.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/2.542, allocations: 35.44 kB / 1.175 GB, free: 25.57 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/2.542, allocations: 0 / 1.175 GB, free: 25.57 MB / 426.7 MB Notification: Performance of Templates: time 0.02253/2.564, allocations: 13.05 MB / 1.188 GB, free: 12.5 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