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.0009067/0.000907, allocations: 101.7 kB / 16.94 MB, free: 6.441 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.0009342/0.0009343, allocations: 184.7 kB / 17.83 MB, free: 6.004 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.369/1.369, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004495/0.0004497, allocations: 11.98 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09632, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3107/0.4071, allocations: 125.4 MB / 453.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.4094, allocations: 2.116 MB / 455.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.4094, allocations: 0 / 455.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.4096, allocations: 27.88 kB / 455.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007586/0.4104, allocations: 271.1 kB / 456.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.4105, allocations: 47.92 kB / 456.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.4106, allocations: 59.84 kB / 456.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.4107, allocations: 4 kB / 456.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.4108, allocations: 43.84 kB / 456.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.4109, allocations: 27.91 kB / 456.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.4109, allocations: 0 / 456.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.4117, allocations: 384.1 kB / 456.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.4117, allocations: 8 kB / 456.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4117, allocations: 37.64 kB / 456.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.4121, allocations: 208.4 kB / 457 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4121, allocations: 0 / 457 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4121, allocations: 0 / 457 MB, free: 8.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.4121, allocations: 3.938 kB / 457 MB, free: 8.156 MB / 350.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.0008212/0.4129, allocations: 427.7 kB / 457.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.413, allocations: 8.031 kB / 457.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/0.4191, allocations: 455.8 kB / 457.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.4192, allocations: 163.6 kB / 458 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4192, allocations: 7.953 kB / 458 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.4193, allocations: 8 kB / 458 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.4201, allocations: 305.1 kB / 458.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4201, allocations: 0 / 458.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.4201, allocations: 4 kB / 458.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4201, allocations: 0 / 458.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.4209, allocations: 271.8 kB / 458.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4219, allocations: 437.3 kB / 459 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.4229, allocations: 206.3 kB / 459.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.423, allocations: 4 kB / 459.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.423, allocations: 30.56 kB / 459.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.423, allocations: 0 / 459.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001666/0.4247, allocations: 421.1 kB / 459.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.4247, allocations: 55.41 kB / 459.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.4248, allocations: 109.8 kB / 459.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4249, allocations: 29.7 kB / 459.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.4249, allocations: 91.89 kB / 459.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.425, allocations: 59.11 kB / 460 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.425, allocations: 4 kB / 460 MB, free: 4.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4251, allocations: 322.8 kB / 460.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.4254, allocations: 80.31 kB / 460.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.4257, allocations: 109 kB / 460.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4259, allocations: 94.7 kB / 460.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4259, allocations: 0 / 460.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000614/0.4266, allocations: 237.5 kB / 460.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4266, allocations: 11.95 kB / 460.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4266, allocations: 0 / 460.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4266, allocations: 0 / 460.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.427, allocations: 55.89 kB / 460.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.427, allocations: 0 / 460.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4273, allocations: 15.98 kB / 460.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.4273, allocations: 16.67 kB / 460.9 MB, free: 3.973 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4274, allocations: 125.9 kB / 461 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4275, allocations: 7.906 kB / 461 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/0.4283, allocations: 276.9 kB / 461.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4283, allocations: 3.984 kB / 461.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4283, allocations: 0.5 kB / 461.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4284, allocations: 3.938 kB / 461.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4296, allocations: 0.5904 MB / 461.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4296, allocations: 3.938 kB / 461.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.43, allocations: 44.03 kB / 462 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.43, allocations: 0 / 462 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.43, allocations: 11.98 kB / 462 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.43, allocations: 3.938 kB / 462 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.43, allocations: 4 kB / 462 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.4307, allocations: 348.4 kB / 462.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.4308, allocations: 85.28 kB / 462.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.4308, allocations: 0 / 462.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.4311, allocations: 19.98 kB / 462.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.4312, allocations: 19.92 kB / 462.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4312, allocations: 12 kB / 462.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.054e-05/0.4312, allocations: 83.2 kB / 462.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4312, allocations: 0 / 462.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.4316, allocations: 44 kB / 462.6 MB, free: 2.188 MB / 350.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 (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.0002333/0.4318, allocations: 119.2 kB / 462.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.4325, allocations: 196 kB / 462.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4325, allocations: 4 kB / 462.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.4328, allocations: 104.5 kB / 463 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.4332, allocations: 36.08 kB / 463 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.4339, allocations: 316.4 kB / 463.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.4342, allocations: 0.6935 MB / 464 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.4346, allocations: 56.75 kB / 464.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.4347, allocations: 31.42 kB / 464.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4348, allocations: 4 kB / 464.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Templates: time 0.005809/0.4406, allocations: 2.848 MB / 467 MB, free: 13.74 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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