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.001382/0.001382, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001573/0.001573, allocations: 190 kB / 18.07 MB, free: 5.414 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001116/0.001116, allocations: 47.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08691, allocations: 46.63 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3344/0.4213, allocations: 148.2 MB / 474.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4241, allocations: 1.569 MB / 476.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.4242, allocations: 0 / 476.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.4244, allocations: 21.78 kB / 476.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.4257, allocations: 281.5 kB / 476.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.426, allocations: 51.81 kB / 476.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.4261, allocations: 71.55 kB / 476.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.4262, allocations: 4 kB / 476.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.4263, allocations: 37.39 kB / 476.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.4264, allocations: 23.92 kB / 476.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.4264, allocations: 0 / 476.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.4275, allocations: 367.5 kB / 477.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.4275, allocations: 15.91 kB / 477.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.4276, allocations: 27.88 kB / 477.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.4283, allocations: 303.3 kB / 477.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4283, allocations: 0 / 477.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4283, allocations: 1.781 kB / 477.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4283, allocations: 0 / 477.5 MB, free: 0.5586 MB / 366.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.001147/0.4294, allocations: 435.9 kB / 478 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4295, allocations: 8.031 kB / 478 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009272/0.4388, allocations: 452.2 kB / 478.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.439, allocations: 169.4 kB / 478.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.4391, allocations: 7.938 kB / 478.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4392, allocations: 11.94 kB / 478.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4404, allocations: 297.2 kB / 478.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4404, allocations: 0 / 478.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.4405, allocations: 4 kB / 478.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.4405, allocations: 4 kB / 478.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4417, allocations: 275.8 kB / 479.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4431, allocations: 429.9 kB / 479.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.4447, allocations: 210.3 kB / 479.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.445, allocations: 73.06 kB / 479.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.4451, allocations: 7.984 kB / 479.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4451, allocations: 37.81 kB / 479.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.4451, allocations: 0 / 479.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.002705/0.4479, allocations: 428.2 kB / 480.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4479, allocations: 55.41 kB / 480.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.448, allocations: 97.86 kB / 480.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4481, allocations: 25.7 kB / 480.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.4482, allocations: 107.9 kB / 480.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.4482, allocations: 59.11 kB / 480.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4484, allocations: 41.69 kB / 480.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4485, allocations: 314.8 kB / 481 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4489, allocations: 79.94 kB / 481.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.4493, allocations: 120.2 kB / 481.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.4502, allocations: 200.2 kB / 481.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4502, allocations: 0 / 481.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009999/0.4512, allocations: 245.3 kB / 481.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4512, allocations: 11.44 kB / 481.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4513, allocations: 0 / 481.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4513, allocations: 4 kB / 481.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.4519, allocations: 51.89 kB / 481.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4519, allocations: 0 / 481.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.4523, allocations: 16.11 kB / 481.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.4524, allocations: 15.98 kB / 481.7 MB, free: 12.11 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.0001502/0.4525, allocations: 125.7 kB / 481.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.4526, allocations: 7.938 kB / 481.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4538, allocations: 270 kB / 482.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4539, allocations: 7.984 kB / 482.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4539, allocations: 0 / 482.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4539, allocations: 3.984 kB / 482.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.4558, allocations: 0.5867 MB / 482.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4558, allocations: 64 / 482.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.4563, allocations: 43.97 kB / 482.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4563, allocations: 0 / 482.8 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.4564, allocations: 13.55 kB / 482.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4564, allocations: 3.938 kB / 482.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4564, allocations: 4 kB / 482.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4574, allocations: 328.9 kB / 483.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.4575, allocations: 85.02 kB / 483.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.4576, allocations: 7.984 kB / 483.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.458, allocations: 11.98 kB / 483.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.4581, allocations: 19.92 kB / 483.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.4581, allocations: 12 kB / 483.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.4582, allocations: 87.2 kB / 483.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4582, allocations: 0 / 483.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.4588, allocations: 44 kB / 483.4 MB, free: 10.36 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.0002838/0.4591, allocations: 127.1 kB / 483.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.46, allocations: 195.8 kB / 483.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.46, allocations: 4.25 kB / 483.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.4605, allocations: 99.81 kB / 483.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.4612, allocations: 35.95 kB / 483.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4624, allocations: 316.1 kB / 484.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4627, allocations: 0.6969 MB / 484.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000654/0.4634, allocations: 53.62 kB / 484.9 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.4636, allocations: 31.41 kB / 484.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4636, allocations: 0 / 484.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008661/0.4723, allocations: 2.955 MB / 487.9 MB, free: 5.809 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches