Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008694/0.0008695, allocations: 178.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.6 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007125/0.0007125, allocations: 89.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 47.58 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2962/0.506, allocations: 136.4 MB / 0.499 GB, free: 1.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.5072, allocations: 1.4 MB / 0.5004 GB, free: 1.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.5072, allocations: 2.875 kB / 0.5004 GB, free: 1.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.5074, allocations: 22.11 kB / 0.5004 GB, free: 1.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005844/0.508, allocations: 253.1 kB / 0.5006 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.5081, allocations: 53.72 kB / 0.5007 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.5082, allocations: 70.17 kB / 0.5007 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.5082, allocations: 6.656 kB / 0.5008 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5083, allocations: 32.42 kB / 0.5008 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.5084, allocations: 23.62 kB / 0.5008 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.5084, allocations: 2.969 kB / 0.5008 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.509, allocations: 362.9 kB / 0.5012 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.509, allocations: 9.016 kB / 0.5012 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.509, allocations: 37.95 kB / 0.5012 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.5093, allocations: 211.8 kB / 0.5014 GB, free: 1.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5093, allocations: 0 / 0.5014 GB, free: 1.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5093, allocations: 0 / 0.5014 GB, free: 1.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5093, allocations: 0 / 0.5014 GB, free: 1.473 MB / 378.7 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.0008176/0.5102, allocations: 430.7 kB / 0.5018 GB, free: 17.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5102, allocations: 8 kB / 0.5018 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005766/0.516, allocations: 453.8 kB / 0.5023 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.5161, allocations: 165.9 kB / 0.5024 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5161, allocations: 5.641 kB / 0.5024 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.5162, allocations: 8.562 kB / 0.5024 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.5168, allocations: 305.9 kB / 0.5027 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5169, allocations: 0 / 0.5027 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.5169, allocations: 5.719 kB / 0.5027 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5169, allocations: 0 / 0.5027 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.5177, allocations: 271 kB / 0.503 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.5185, allocations: 438.9 kB / 0.5034 GB, free: 16.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009432/0.5195, allocations: 200.8 kB / 0.5036 GB, free: 16.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.5197, allocations: 73.73 kB / 0.5037 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5197, allocations: 7.781 kB / 0.5037 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5197, allocations: 41.31 kB / 0.5037 GB, free: 16.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5197, allocations: 0 / 0.5037 GB, free: 16.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001587/0.5213, allocations: 427.2 kB / 0.5041 GB, free: 16.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5214, allocations: 51.41 kB / 0.5042 GB, free: 16.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.5214, allocations: 101.5 kB / 0.5043 GB, free: 16.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5215, allocations: 31.7 kB / 0.5043 GB, free: 16.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.5215, allocations: 87.95 kB / 0.5044 GB, free: 16.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.5216, allocations: 69.27 kB / 0.5044 GB, free: 16.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.5216, allocations: 2.25 kB / 0.5044 GB, free: 16.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.5217, allocations: 320.2 kB / 0.5048 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.5219, allocations: 77.42 kB / 0.5048 GB, free: 15.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.5222, allocations: 120 kB / 0.5049 GB, free: 15.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.5224, allocations: 84.16 kB / 0.505 GB, free: 15.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5224, allocations: 0 / 0.505 GB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005775/0.523, allocations: 245.7 kB / 0.5053 GB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.523, allocations: 6.469 kB / 0.5053 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5231, allocations: 3.938 kB / 0.5053 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5231, allocations: 2.719 kB / 0.5053 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.5234, allocations: 60.05 kB / 0.5053 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5235, allocations: 2.781 kB / 0.5053 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.5237, allocations: 12.91 kB / 0.5053 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.5238, allocations: 15.22 kB / 0.5054 GB, free: 15.66 MB / 394.7 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 9.778e-05/0.5239, allocations: 120 kB / 0.5055 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.5239, allocations: 14.45 kB / 0.5055 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.5247, allocations: 278.6 kB / 0.5057 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5247, allocations: 0 / 0.5057 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5247, allocations: 2.906 kB / 0.5058 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5247, allocations: 5.688 kB / 0.5058 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.5258, allocations: 0.5802 MB / 0.5063 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5258, allocations: 0 / 0.5063 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.5261, allocations: 44.98 kB / 0.5064 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5261, allocations: 3.094 kB / 0.5064 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5261, allocations: 8.125 kB / 0.5064 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5262, allocations: 3.281 kB / 0.5064 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5262, allocations: 2.875 kB / 0.5064 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.5268, allocations: 341.7 kB / 0.5067 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.5268, allocations: 84.02 kB / 0.5068 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.5268, allocations: 0 / 0.5068 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.5271, allocations: 14.75 kB / 0.5068 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.5271, allocations: 15.44 kB / 0.5068 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5272, allocations: 12.58 kB / 0.5068 GB, free: 14.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.37e-05/0.5272, allocations: 84.27 kB / 0.5069 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5272, allocations: 0 / 0.5069 GB, free: 14.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.5275, allocations: 40.09 kB / 0.5069 GB, free: 14.82 MB / 394.7 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.0002044/0.5277, allocations: 133.5 kB / 0.5071 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.5283, allocations: 198.4 kB / 0.5073 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5284, allocations: 0 / 0.5073 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.5286, allocations: 100.9 kB / 0.5074 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.529, allocations: 46.36 kB / 0.5074 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.5297, allocations: 333.2 kB / 0.5077 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5299, allocations: 0.6996 MB / 0.5084 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.5301, allocations: 32.42 kB / 0.5084 GB, free: 13.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5301, allocations: 2.906 kB / 0.5084 GB, free: 13.8 MB / 394.7 MB Notification: Performance of Templates: time 0.003676/0.5338, allocations: 2.315 MB / 0.5107 GB, free: 13.64 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches