Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002264, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.235e-05, allocations: 0 / 315.5 MB, free: 22.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 47.58 MB / 363.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9551/1.083, allocations: 337.5 MB / 0.6842 GB, free: 8.379 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/1.083, allocations: 96.03 kB / 0.6843 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4462/1.53, allocations: 85.6 MB / 0.7679 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.53, allocations: 0 / 0.7679 GB, free: 105.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.275e-05/1.53, allocations: 8 kB / 0.7679 GB, free: 105.6 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001013/1.531, allocations: 0.5271 MB / 0.7684 GB, free: 105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.531, allocations: 8.031 kB / 0.7684 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/1.531, allocations: 39.7 kB / 0.7685 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/1.532, allocations: 291.3 kB / 0.7687 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.532, allocations: 8 kB / 0.7688 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/1.532, allocations: 19.94 kB / 0.7688 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003112/1.532, allocations: 177.1 kB / 0.7689 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/1.532, allocations: 256.3 kB / 0.7692 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.532, allocations: 3.938 kB / 0.7692 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/1.533, allocations: 0 / 0.7692 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.533, allocations: 8 kB / 0.7692 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/1.534, allocations: 1.218 MB / 0.7704 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/1.534, allocations: 167.1 kB / 0.7705 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/1.535, allocations: 81.22 kB / 0.7706 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.535, allocations: 166.4 kB / 0.7708 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/1.535, allocations: 46.67 kB / 0.7708 GB, free: 102.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/1.535, allocations: 0 / 0.7708 GB, free: 102.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001761/1.536, allocations: 0.7921 MB / 0.7716 GB, free: 101.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/1.537, allocations: 51.41 kB / 0.7716 GB, free: 101.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/1.537, allocations: 195.1 kB / 0.7718 GB, free: 101.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.537, allocations: 25.7 kB / 0.7719 GB, free: 101.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/1.537, allocations: 187.8 kB / 0.772 GB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/1.537, allocations: 86.66 kB / 0.7721 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.537, allocations: 3.938 kB / 0.7721 GB, free: 100.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/1.537, allocations: 338.8 kB / 0.7724 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.537, allocations: 68 kB / 0.7725 GB, free: 100.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.537, allocations: 164 kB / 0.7727 GB, free: 100.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/1.537, allocations: 104.9 kB / 0.7728 GB, free: 100.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.537, allocations: 4 kB / 0.7728 GB, free: 100.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005268/1.538, allocations: 403.9 kB / 0.7732 GB, free: 99.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.538, allocations: 4.406 kB / 0.7732 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.538, allocations: 8 kB / 0.7732 GB, free: 99.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/1.538, allocations: 37.7 kB / 0.7732 GB, free: 99.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/1.538, allocations: 79.89 kB / 0.7733 GB, free: 99.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/1.54, allocations: 2.465 MB / 0.7757 GB, free: 96.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/1.54, allocations: 11.95 kB / 0.7757 GB, free: 96.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/1.54, allocations: 19.94 kB / 0.7757 GB, free: 96.86 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.54, allocations: 124.9 kB / 0.7758 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/1.54, allocations: 23.72 kB / 0.7759 GB, free: 96.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/1.541, allocations: 338.4 kB / 0.7762 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.541, allocations: 4 kB / 0.7762 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.541, allocations: 3.984 kB / 0.7762 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003749/1.541, allocations: 0.5957 MB / 0.7768 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/1.542, allocations: 0.6889 MB / 0.7774 GB, free: 94.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.542, allocations: 0 / 0.7774 GB, free: 94.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/1.542, allocations: 55.97 kB / 0.7775 GB, free: 94.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-05/1.542, allocations: 20.88 kB / 0.7775 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/1.542, allocations: 7.938 kB / 0.7775 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/1.543, allocations: 1.233 MB / 0.7787 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.543, allocations: 0 / 0.7787 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/1.543, allocations: 0.4922 MB / 0.7792 GB, free: 92.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/1.544, allocations: 105 kB / 0.7793 GB, free: 92.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/1.544, allocations: 4 kB / 0.7793 GB, free: 92.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/1.544, allocations: 8 kB / 0.7793 GB, free: 92.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/1.544, allocations: 23.92 kB / 0.7793 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.544, allocations: 15.98 kB / 0.7794 GB, free: 92.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001185/1.544, allocations: 153.6 kB / 0.7795 GB, free: 92.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.544, allocations: 0 / 0.7795 GB, free: 92.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005011/1.545, allocations: 115.9 kB / 0.7796 GB, free: 92.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003787/1.545, allocations: 230.1 kB / 0.7798 GB, free: 92.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005214/1.545, allocations: 420 kB / 0.7802 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.546, allocations: 0 / 0.7802 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/1.546, allocations: 205.6 kB / 0.7804 GB, free: 91.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/1.546, allocations: 121.3 kB / 0.7805 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/1.547, allocations: 455.8 kB / 0.781 GB, free: 91.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/1.547, allocations: 0.7753 MB / 0.7817 GB, free: 90.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/1.548, allocations: 59.23 kB / 0.7818 GB, free: 90.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/1.548, allocations: 27.44 kB / 0.7818 GB, free: 90.12 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/1.548, allocations: 0 / 0.7818 GB, free: 90.12 MB / 426.7 MB Notification: Performance of Templates: time 0.009848/1.558, allocations: 5.761 MB / 0.7874 GB, free: 84.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches