Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 109.4 kB / 18.36 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07558/0.07675, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2812/0.358, allocations: 150.4 MB / 479.2 MB, free: 48 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3596, allocations: 1.52 MB / 480.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.3597, allocations: 0 / 480.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3599, allocations: 27.81 kB / 480.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.3606, allocations: 321.7 kB / 481 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3608, allocations: 52.62 kB / 481.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3609, allocations: 83.52 kB / 481.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.361, allocations: 4 kB / 481.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.3611, allocations: 31.86 kB / 481.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.3611, allocations: 31.84 kB / 481.2 MB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.3612, allocations: 4 kB / 481.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.3618, allocations: 359.5 kB / 481.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3618, allocations: 7.922 kB / 481.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3619, allocations: 35.8 kB / 481.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.3624, allocations: 288.7 kB / 481.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3624, allocations: 0 / 481.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3624, allocations: 1.688 kB / 481.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3624, allocations: 0 / 481.9 MB, free: 13.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008138/0.3632, allocations: 443.9 kB / 482.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3632, allocations: 12.03 kB / 482.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/0.3691, allocations: 452.8 kB / 482.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.3692, allocations: 172.4 kB / 483 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3693, allocations: 11.94 kB / 483 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.3693, allocations: 4 kB / 483 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.3701, allocations: 301.2 kB / 483.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3701, allocations: 0 / 483.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.3702, allocations: 8 kB / 483.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3702, allocations: 0 / 483.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.3709, allocations: 275.8 kB / 483.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.3719, allocations: 417.6 kB / 484 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.3729, allocations: 210.3 kB / 484.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3731, allocations: 76.81 kB / 484.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3731, allocations: 0 / 484.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3731, allocations: 34.56 kB / 484.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3732, allocations: 3.938 kB / 484.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001682/0.3748, allocations: 425.4 kB / 484.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3749, allocations: 51.41 kB / 484.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.375, allocations: 105.8 kB / 484.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.375, allocations: 33.7 kB / 484.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.3751, allocations: 99.88 kB / 485 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3752, allocations: 59.11 kB / 485 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.3753, allocations: 45.69 kB / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3754, allocations: 318.8 kB / 485.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3756, allocations: 76.81 kB / 485.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.3759, allocations: 120.2 kB / 485.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3764, allocations: 199.3 kB / 485.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3764, allocations: 0 / 485.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006258/0.3771, allocations: 253.3 kB / 486 MB, free: 8.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3771, allocations: 4 kB / 486 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3771, allocations: 0 / 486 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3771, allocations: 7.938 kB / 486 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3775, allocations: 50.83 kB / 486.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3775, allocations: 7.984 kB / 486.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3778, allocations: 16.11 kB / 486.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3778, allocations: 12 kB / 486.1 MB, free: 8.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.378, allocations: 125.7 kB / 486.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.378, allocations: 4 kB / 486.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.3788, allocations: 273.1 kB / 486.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3788, allocations: 8.125 kB / 486.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3788, allocations: 3.938 kB / 486.5 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3788, allocations: 7.984 kB / 486.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.38, allocations: 0.5831 MB / 487.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.38, allocations: 0 / 487.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.3804, allocations: 47.89 kB / 487.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3804, allocations: 0 / 487.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3804, allocations: 8 kB / 487.2 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3805, allocations: 4 kB / 487.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3805, allocations: 3.984 kB / 487.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.3811, allocations: 329.4 kB / 487.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.3811, allocations: 81.02 kB / 487.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.3812, allocations: 8 kB / 487.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.3815, allocations: 18.55 kB / 487.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3815, allocations: 19.86 kB / 487.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3815, allocations: 11.98 kB / 487.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.3816, allocations: 79.28 kB / 487.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3816, allocations: 0 / 487.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.3819, allocations: 47.94 kB / 487.8 MB, free: 7.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.3821, allocations: 131.2 kB / 487.9 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.3827, allocations: 195.9 kB / 488.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3828, allocations: 0 / 488.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.383, allocations: 108.4 kB / 488.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3835, allocations: 32.09 kB / 488.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007632/0.3842, allocations: 270.2 kB / 488.5 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3845, allocations: 0.6928 MB / 489.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.3848, allocations: 52.75 kB / 489.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3849, allocations: 35.41 kB / 489.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3849, allocations: 4 kB / 489.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of Templates: time 0.005716/0.3907, allocations: 3.048 MB / 492.3 MB, free: 2.496 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches