Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 176.3 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.298/1.298, allocations: 223.3 MB / 241.4 MB, free: 11.68 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.0007528/0.0007527, allocations: 93.94 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004463, allocations: 11.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 50.38 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.99/11.24, allocations: 6.206 GB / 6.599 GB, free: 64.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/11.24, allocations: 85.03 kB / 6.599 GB, free: 64.49 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7487/11.99, allocations: 202.2 MB / 6.796 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.204e-06/11.99, allocations: 0 / 6.796 GB, free: 47.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/11.99, allocations: 4 kB / 6.796 GB, free: 47.73 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006322/12, allocations: 1.45 MB / 6.798 GB, free: 46.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/12, allocations: 12.03 kB / 6.798 GB, free: 46.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/12, allocations: 20.75 kB / 6.798 GB, free: 46.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/12, allocations: 220.1 kB / 6.798 GB, free: 45.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/12, allocations: 12.7 kB / 6.798 GB, free: 45.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/12, allocations: 16.28 kB / 6.798 GB, free: 45.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/12, allocations: 297.8 kB / 6.798 GB, free: 45.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/12, allocations: 192 / 6.798 GB, free: 45.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/12, allocations: 15.88 kB / 6.798 GB, free: 45.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/12, allocations: 4 kB / 6.798 GB, free: 45.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/12, allocations: 303.8 kB / 6.799 GB, free: 45.29 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/12, allocations: 0.711 MB / 6.799 GB, free: 44.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/12, allocations: 253.1 kB / 6.8 GB, free: 44.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/12, allocations: 133.6 kB / 6.8 GB, free: 44.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/12.01, allocations: 12.44 MB / 6.812 GB, free: 29.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/12.01, allocations: 34.56 kB / 6.812 GB, free: 29.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/12.01, allocations: 0 / 6.812 GB, free: 29.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002607/12.02, allocations: 0.6934 MB / 6.813 GB, free: 28.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/12.02, allocations: 85.09 kB / 6.813 GB, free: 28.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/12.02, allocations: 121.8 kB / 6.813 GB, free: 28.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/12.02, allocations: 33.7 kB / 6.813 GB, free: 28.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/12.02, allocations: 116.8 kB / 6.813 GB, free: 28.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/12.02, allocations: 130 kB / 6.813 GB, free: 27.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/12.02, allocations: 11.94 kB / 6.813 GB, free: 27.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/12.02, allocations: 326.8 kB / 6.813 GB, free: 27.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/12.02, allocations: 131.9 kB / 6.814 GB, free: 27.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/12.02, allocations: 215.5 kB / 6.814 GB, free: 27.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/12.02, allocations: 353.4 kB / 6.814 GB, free: 26.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/12.02, allocations: 4 kB / 6.814 GB, free: 26.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009693/12.02, allocations: 414 kB / 6.814 GB, free: 26.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/12.02, allocations: 11.94 kB / 6.814 GB, free: 26.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/12.02, allocations: 0 / 6.814 GB, free: 26.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/12.02, allocations: 4 kB / 6.814 GB, free: 26.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/12.02, allocations: 87.88 kB / 6.815 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/12.02, allocations: 8 kB / 6.815 GB, free: 26.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/12.02, allocations: 39.97 kB / 6.815 GB, free: 26.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/12.02, allocations: 12 kB / 6.815 GB, free: 26.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/12.02, allocations: 145.7 kB / 6.815 GB, free: 26.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/12.02, allocations: 23.75 kB / 6.815 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/12.02, allocations: 203.2 kB / 6.815 GB, free: 25.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/12.02, allocations: 4 kB / 6.815 GB, free: 25.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/12.02, allocations: 0 / 6.815 GB, free: 25.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/12.02, allocations: 7.984 kB / 6.815 GB, free: 25.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/12.02, allocations: 0.7781 MB / 6.816 GB, free: 25.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/12.02, allocations: 0 / 6.816 GB, free: 25.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/12.02, allocations: 83.88 kB / 6.816 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/12.02, allocations: 4 kB / 6.816 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/12.02, allocations: 11.98 kB / 6.816 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/12.02, allocations: 4 kB / 6.816 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/12.02, allocations: 4.094 kB / 6.816 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/12.02, allocations: 0.7199 MB / 6.817 GB, free: 24.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/12.02, allocations: 128.8 kB / 6.817 GB, free: 24.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/12.02, allocations: 8 kB / 6.817 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/12.03, allocations: 24.05 kB / 6.817 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/12.03, allocations: 27.91 kB / 6.817 GB, free: 23.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/12.03, allocations: 19.98 kB / 6.817 GB, free: 23.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.756e-05/12.03, allocations: 95.27 kB / 6.817 GB, free: 23.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/12.03, allocations: 0 / 6.817 GB, free: 23.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005566/12.03, allocations: 1.108 MB / 6.818 GB, free: 22.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00905/12.04, allocations: 1.621 MB / 6.819 GB, free: 21.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/12.04, allocations: 339.1 kB / 6.82 GB, free: 20.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/12.04, allocations: 0 / 6.82 GB, free: 20.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/12.04, allocations: 180.5 kB / 6.82 GB, free: 20.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/12.04, allocations: 109.3 kB / 6.82 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/12.06, allocations: 12.24 MB / 6.832 GB, free: 7.949 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/12.06, allocations: 0.7412 MB / 6.833 GB, free: 7.184 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005593/12.06, allocations: 85.88 kB / 6.833 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/12.06, allocations: 35.42 kB / 6.833 GB, free: 7.066 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/12.06, allocations: 0 / 6.833 GB, free: 7.066 MB / 458.7 MB Notification: Performance of Templates: time 0.3046/12.37, allocations: 33.39 MB / 6.865 GB, free: 74.31 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches