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.001552/0.001553, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.269/1.269, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 99.75 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2547, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.277, allocations: 0.5367 GB / 0.9288 GB, free: 114.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.278, allocations: 71.97 kB / 0.9288 GB, free: 114.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4478/1.725, allocations: 148.1 MB / 1.073 GB, free: 122.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.726, allocations: 0 / 1.073 GB, free: 122.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.364e-05/1.726, allocations: 14.14 kB / 1.073 GB, free: 122.2 MB / 458.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.001435/1.727, allocations: 0.6937 MB / 1.074 GB, free: 121.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.727, allocations: 11.69 kB / 1.074 GB, free: 121.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/1.728, allocations: 76.44 kB / 1.074 GB, free: 121.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/1.728, allocations: 337.2 kB / 1.075 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.728, allocations: 27 kB / 1.075 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/1.728, allocations: 40.81 kB / 1.075 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/1.729, allocations: 467 kB / 1.075 GB, free: 121.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.729, allocations: 3.844 kB / 1.075 GB, free: 121.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/1.729, allocations: 19.44 kB / 1.075 GB, free: 121.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.729, allocations: 19.11 kB / 1.075 GB, free: 121.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/1.729, allocations: 310 kB / 1.075 GB, free: 121.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/1.74, allocations: 6.278 MB / 1.082 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/1.74, allocations: 278.2 kB / 1.082 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007556/1.748, allocations: 3.449 MB / 1.085 GB, free: 115.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.748, allocations: 38.34 kB / 1.085 GB, free: 115.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/1.748, allocations: 4.938 kB / 1.085 GB, free: 115.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009692/1.758, allocations: 2.393 MB / 1.088 GB, free: 115.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/1.758, allocations: 55.38 kB / 1.088 GB, free: 115.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.758, allocations: 262.9 kB / 1.088 GB, free: 115 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/1.758, allocations: 37.64 kB / 1.088 GB, free: 115 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/1.758, allocations: 223 kB / 1.088 GB, free: 114.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/1.758, allocations: 155.2 kB / 1.088 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.758, allocations: 12 kB / 1.088 GB, free: 114.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/1.759, allocations: 350.8 kB / 1.089 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.759, allocations: 154.9 kB / 1.089 GB, free: 114.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.759, allocations: 269.3 kB / 1.089 GB, free: 114.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/1.759, allocations: 195.9 kB / 1.089 GB, free: 114 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.759, allocations: 5.594 kB / 1.089 GB, free: 114 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000905/1.76, allocations: 0.586 MB / 1.09 GB, free: 113.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.76, allocations: 11.62 kB / 1.09 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.76, allocations: 0.6562 kB / 1.09 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008437/1.769, allocations: 0.862 MB / 1.091 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.769, allocations: 109.5 kB / 1.091 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/1.771, allocations: 2.479 MB / 1.093 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/1.771, allocations: 40.05 kB / 1.093 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/1.771, allocations: 26.81 kB / 1.093 GB, free: 111.2 MB / 458.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.0002324/1.771, allocations: 172.1 kB / 1.093 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/1.771, allocations: 48.36 kB / 1.093 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.773, allocations: 0.8492 MB / 1.094 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.773, allocations: 15.7 kB / 1.094 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/1.773, allocations: 0 / 1.094 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/1.773, allocations: 0.959 MB / 1.095 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.775, allocations: 1.487 MB / 1.097 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.775, allocations: 0 / 1.097 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/1.775, allocations: 78.5 kB / 1.097 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/1.778, allocations: 0.594 MB / 1.097 GB, free: 109 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/1.778, allocations: 11.91 kB / 1.097 GB, free: 109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006519/1.779, allocations: 1.292 MB / 1.099 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.779, allocations: 7.578 kB / 1.099 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.78, allocations: 1.226 MB / 1.1 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.78, allocations: 123.8 kB / 1.1 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/1.78, allocations: 7.906 kB / 1.1 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/1.781, allocations: 31.05 kB / 1.1 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/1.781, allocations: 27.31 kB / 1.1 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.781, allocations: 19.55 kB / 1.1 GB, free: 107 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001798/1.781, allocations: 206.5 kB / 1.1 GB, free: 106.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.781, allocations: 4 kB / 1.1 GB, free: 106.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009398/1.782, allocations: 250.3 kB / 1.1 GB, free: 106.8 MB / 458.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/1.783, allocations: 441 kB / 1.101 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/1.784, allocations: 0.685 MB / 1.102 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.784, allocations: 3.969 kB / 1.102 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/1.785, allocations: 437.3 kB / 1.102 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.786, allocations: 229.4 kB / 1.102 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/1.788, allocations: 1.48 MB / 1.104 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/1.788, allocations: 0.8484 MB / 1.104 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003207/1.789, allocations: 69.5 kB / 1.104 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/1.789, allocations: 38.19 kB / 1.105 GB, free: 104.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/1.789, allocations: 0 / 1.105 GB, free: 104.5 MB / 458.7 MB Notification: Performance of Templates: time 0.0177/1.806, allocations: 12.74 MB / 1.117 GB, free: 102.5 MB / 458.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