Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.792/1.792, allocations: 221.4 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 97.98 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.754e-05, allocations: 0 / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 50.42 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.059, allocations: 0.5366 GB / 0.9216 GB, free: 108 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/2.059, allocations: 74.17 kB / 0.9217 GB, free: 108 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6487/2.708, allocations: 147.2 MB / 1.065 GB, free: 97.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/2.708, allocations: 2.312 kB / 1.065 GB, free: 97.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-05/2.708, allocations: 16.88 kB / 1.065 GB, free: 97.29 MB / 442.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.001481/2.709, allocations: 0.6577 MB / 1.066 GB, free: 96.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/2.709, allocations: 11.56 kB / 1.066 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/2.71, allocations: 69.47 kB / 1.066 GB, free: 96.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/2.71, allocations: 339.3 kB / 1.067 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/2.71, allocations: 33.42 kB / 1.067 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/2.711, allocations: 41.47 kB / 1.067 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/2.711, allocations: 451.1 kB / 1.067 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/2.711, allocations: 9.594 kB / 1.067 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/2.711, allocations: 15 kB / 1.067 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/2.711, allocations: 11.86 kB / 1.067 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/2.712, allocations: 296 kB / 1.067 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/2.723, allocations: 6.334 MB / 1.074 GB, free: 92.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/2.724, allocations: 280.4 kB / 1.074 GB, free: 92.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/2.724, allocations: 146.2 kB / 1.074 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007948/2.732, allocations: 3.488 MB / 1.077 GB, free: 91.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.555e-05/2.732, allocations: 46.36 kB / 1.077 GB, free: 91.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.536e-06/2.732, allocations: 0 / 1.077 GB, free: 91.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.01077/2.743, allocations: 2.267 MB / 1.08 GB, free: 90.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/2.743, allocations: 58.05 kB / 1.08 GB, free: 90.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/2.743, allocations: 267.4 kB / 1.08 GB, free: 90.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/2.744, allocations: 35.83 kB / 1.08 GB, free: 90.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/2.744, allocations: 223.4 kB / 1.08 GB, free: 90.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/2.744, allocations: 159.8 kB / 1.08 GB, free: 90.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/2.744, allocations: 15.22 kB / 1.08 GB, free: 90.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/2.744, allocations: 352 kB / 1.081 GB, free: 89.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/2.744, allocations: 145.2 kB / 1.081 GB, free: 89.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/2.744, allocations: 259.6 kB / 1.081 GB, free: 89.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/2.745, allocations: 203.4 kB / 1.081 GB, free: 89.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/2.745, allocations: 0 / 1.081 GB, free: 89.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00107/2.746, allocations: 0.5819 MB / 1.082 GB, free: 89.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/2.746, allocations: 7.875 kB / 1.082 GB, free: 89.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/2.746, allocations: 3.938 kB / 1.082 GB, free: 89.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008323/2.754, allocations: 0.8674 MB / 1.083 GB, free: 89.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/2.755, allocations: 111.9 kB / 1.083 GB, free: 89.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/2.757, allocations: 2.455 MB / 1.085 GB, free: 87.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/2.757, allocations: 46.56 kB / 1.085 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/2.757, allocations: 23.22 kB / 1.085 GB, free: 87.25 MB / 442.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.0001818/2.758, allocations: 136.4 kB / 1.085 GB, free: 87.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/2.758, allocations: 37.84 kB / 1.085 GB, free: 87.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/2.759, allocations: 0.8497 MB / 1.086 GB, free: 87.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/2.759, allocations: 11.47 kB / 1.086 GB, free: 87.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/2.759, allocations: 0 / 1.086 GB, free: 87.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009377/2.76, allocations: 0.9628 MB / 1.087 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/2.762, allocations: 1.474 MB / 1.089 GB, free: 85.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/2.762, allocations: 0 / 1.089 GB, free: 85.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/2.763, allocations: 80.05 kB / 1.089 GB, free: 85.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/2.765, allocations: 0.5813 MB / 1.089 GB, free: 85.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/2.766, allocations: 11.81 kB / 1.089 GB, free: 85.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009032/2.766, allocations: 1.277 MB / 1.091 GB, free: 84.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.766, allocations: 3.953 kB / 1.091 GB, free: 84.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/2.768, allocations: 1.221 MB / 1.092 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/2.768, allocations: 115.2 kB / 1.092 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/2.768, allocations: 15.77 kB / 1.092 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/2.769, allocations: 32.44 kB / 1.092 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/2.769, allocations: 29.61 kB / 1.092 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/2.769, allocations: 14.64 kB / 1.092 GB, free: 83.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002789/2.769, allocations: 210.4 kB / 1.092 GB, free: 83.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/2.769, allocations: 0 / 1.092 GB, free: 83.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001404/2.771, allocations: 247.8 kB / 1.092 GB, free: 83.69 MB / 442.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.001509/2.772, allocations: 444.3 kB / 1.093 GB, free: 83.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/2.774, allocations: 0.6747 MB / 1.093 GB, free: 83.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/2.774, allocations: 1.688 kB / 1.093 GB, free: 83.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/2.775, allocations: 443 kB / 1.094 GB, free: 83.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.776, allocations: 229.7 kB / 1.094 GB, free: 83.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/2.778, allocations: 0.9763 MB / 1.095 GB, free: 82.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/2.778, allocations: 0.8416 MB / 1.096 GB, free: 81.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003774/2.779, allocations: 69.83 kB / 1.096 GB, free: 81.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/2.779, allocations: 36.5 kB / 1.096 GB, free: 81.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.704e-06/2.779, allocations: 0 / 1.096 GB, free: 81.75 MB / 442.7 MB Notification: Performance of Templates: time 0.02592/2.805, allocations: 13.04 MB / 1.109 GB, free: 81.01 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches