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.001563/0.001563, allocations: 177.1 kB / 17.4 MB, free: 4.418 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.313/1.313, allocations: 223.3 MB / 241.4 MB, free: 11.69 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.0008266/0.0008267, allocations: 109 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 8 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9414/1.14, allocations: 0.5369 GB / 0.9302 GB, free: 113.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.141, allocations: 75.97 kB / 0.9302 GB, free: 113.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4239/1.564, allocations: 147.9 MB / 1.075 GB, free: 122.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.564, allocations: 0 / 1.075 GB, free: 122.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/1.564, allocations: 7.656 kB / 1.075 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.001053/1.566, allocations: 0.6888 MB / 1.075 GB, free: 121.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.566, allocations: 11.28 kB / 1.075 GB, free: 121.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/1.566, allocations: 75.08 kB / 1.075 GB, free: 121.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.566, allocations: 349.2 kB / 1.076 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.566, allocations: 29.78 kB / 1.076 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/1.567, allocations: 39.06 kB / 1.076 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.567, allocations: 477 kB / 1.076 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.567, allocations: 2.25 kB / 1.076 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/1.567, allocations: 15.38 kB / 1.076 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.567, allocations: 11.69 kB / 1.076 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/1.568, allocations: 300.3 kB / 1.077 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/1.576, allocations: 6.291 MB / 1.083 GB, free: 117.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/1.577, allocations: 279.9 kB / 1.083 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.577, allocations: 154.2 kB / 1.083 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006729/1.584, allocations: 3.454 MB / 1.087 GB, free: 115.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/1.584, allocations: 34.91 kB / 1.087 GB, free: 115.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/1.584, allocations: 0 / 1.087 GB, free: 115.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009074/1.593, allocations: 2.397 MB / 1.089 GB, free: 115.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.593, allocations: 59.31 kB / 1.089 GB, free: 115 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.593, allocations: 304.5 kB / 1.089 GB, free: 114.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/1.593, allocations: 29.7 kB / 1.089 GB, free: 114.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/1.593, allocations: 231.8 kB / 1.09 GB, free: 114.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/1.593, allocations: 159.4 kB / 1.09 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/1.593, allocations: 8 kB / 1.09 GB, free: 114.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/1.593, allocations: 346.1 kB / 1.09 GB, free: 114.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.594, allocations: 150.6 kB / 1.09 GB, free: 114.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/1.594, allocations: 281.8 kB / 1.09 GB, free: 113.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/1.594, allocations: 470.6 kB / 1.091 GB, free: 113.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.594, allocations: 3.938 kB / 1.091 GB, free: 113.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008624/1.595, allocations: 0.589 MB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.595, allocations: 11.47 kB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.595, allocations: 2.406 kB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/1.603, allocations: 0.8646 MB / 1.092 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/1.603, allocations: 105.8 kB / 1.092 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/1.604, allocations: 2.459 MB / 1.095 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/1.605, allocations: 37.89 kB / 1.095 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/1.605, allocations: 22.25 kB / 1.095 GB, free: 110.8 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.0001922/1.605, allocations: 179.3 kB / 1.095 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/1.605, allocations: 42.16 kB / 1.095 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/1.606, allocations: 0.856 MB / 1.096 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.606, allocations: 11.94 kB / 1.096 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.606, allocations: 2.438 kB / 1.096 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007496/1.607, allocations: 0.9593 MB / 1.097 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/1.608, allocations: 1.487 MB / 1.098 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.608, allocations: 0 / 1.098 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/1.609, allocations: 74.33 kB / 1.098 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/1.611, allocations: 0.5991 MB / 1.099 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/1.611, allocations: 13.11 kB / 1.099 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006128/1.612, allocations: 1.279 MB / 1.1 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.612, allocations: 7.656 kB / 1.1 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.613, allocations: 1.23 MB / 1.101 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/1.613, allocations: 116.2 kB / 1.102 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/1.613, allocations: 11.88 kB / 1.102 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/1.614, allocations: 27.55 kB / 1.102 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/1.614, allocations: 27.25 kB / 1.102 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/1.614, allocations: 19.67 kB / 1.102 GB, free: 106.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001632/1.614, allocations: 218 kB / 1.102 GB, free: 106.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.614, allocations: 0 / 1.102 GB, free: 106.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008137/1.615, allocations: 255.2 kB / 1.102 GB, free: 106.4 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.0009149/1.616, allocations: 431 kB / 1.102 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/1.617, allocations: 0.687 MB / 1.103 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.617, allocations: 0 / 1.103 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008221/1.617, allocations: 452.3 kB / 1.104 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.618, allocations: 232.7 kB / 1.104 GB, free: 105.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.62, allocations: 1.477 MB / 1.105 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/1.62, allocations: 0.8343 MB / 1.106 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/1.62, allocations: 68.73 kB / 1.106 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/1.621, allocations: 37.94 kB / 1.106 GB, free: 104.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.1e-07/1.621, allocations: 0 / 1.106 GB, free: 104.1 MB / 458.7 MB Notification: Performance of Templates: time 0.01723/1.638, allocations: 13.02 MB / 1.119 GB, free: 101.4 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/jenkins1/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