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.001196/0.001196, allocations: 172.8 kB / 16.72 MB, free: 4.934 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.502/1.502, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.000906/0.0009061, allocations: 89.03 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.000344, allocations: 15.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2206, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3176/0.5382, allocations: 136.4 MB / 0.4995 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.5395, allocations: 1.402 MB / 0.5009 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.5395, allocations: 2.938 kB / 0.5009 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.5396, allocations: 20.06 kB / 0.5009 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.5402, allocations: 253.5 kB / 0.5012 GB, free: 1.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.5404, allocations: 50.27 kB / 0.5012 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.5405, allocations: 78.78 kB / 0.5013 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.5405, allocations: 2.938 kB / 0.5013 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.5406, allocations: 26.97 kB / 0.5013 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.5407, allocations: 26.34 kB / 0.5013 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.5407, allocations: 3.438 kB / 0.5013 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.5413, allocations: 360.4 kB / 0.5017 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.5413, allocations: 9.844 kB / 0.5017 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.5413, allocations: 58.64 kB / 0.5017 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.5416, allocations: 211.7 kB / 0.5019 GB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5416, allocations: 0 / 0.5019 GB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5416, allocations: 2.969 kB / 0.502 GB, free: 1.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.5416, allocations: 0 / 0.502 GB, free: 1.453 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.0008201/0.5425, allocations: 425.1 kB / 0.5024 GB, free: 17.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5425, allocations: 12.25 kB / 0.5024 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/0.548, allocations: 455.6 kB / 0.5028 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5481, allocations: 170.2 kB / 0.503 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5482, allocations: 7.562 kB / 0.503 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.5483, allocations: 5.125 kB / 0.503 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.549, allocations: 306 kB / 0.5033 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.549, allocations: 0 / 0.5033 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.549, allocations: 0 / 0.5033 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.549, allocations: 2.406 kB / 0.5033 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.5498, allocations: 278.4 kB / 0.5035 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.5507, allocations: 436.5 kB / 0.504 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.5516, allocations: 200.7 kB / 0.5041 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.5518, allocations: 75.03 kB / 0.5042 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.5519, allocations: 3.531 kB / 0.5042 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5519, allocations: 34.56 kB / 0.5043 GB, free: 16.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5519, allocations: 0 / 0.5043 GB, free: 16.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001543/0.5535, allocations: 431.9 kB / 0.5047 GB, free: 16.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5535, allocations: 54.62 kB / 0.5047 GB, free: 16.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.5536, allocations: 101.4 kB / 0.5048 GB, free: 16.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5536, allocations: 31.05 kB / 0.5048 GB, free: 16.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.5537, allocations: 90.89 kB / 0.5049 GB, free: 16.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.5537, allocations: 67.16 kB / 0.505 GB, free: 16.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.5537, allocations: 6.062 kB / 0.505 GB, free: 16.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.5538, allocations: 318.1 kB / 0.5053 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.5541, allocations: 80.17 kB / 0.5054 GB, free: 15.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.5543, allocations: 116.4 kB / 0.5055 GB, free: 15.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.5548, allocations: 205 kB / 0.5057 GB, free: 15.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5548, allocations: 0 / 0.5057 GB, free: 15.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005766/0.5554, allocations: 244.2 kB / 0.5059 GB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5554, allocations: 3.031 kB / 0.5059 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5554, allocations: 7.281 kB / 0.5059 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5554, allocations: 0 / 0.5059 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5558, allocations: 52.3 kB / 0.506 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5558, allocations: 3.594 kB / 0.506 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.5561, allocations: 16.38 kB / 0.506 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.5561, allocations: 13.12 kB / 0.506 GB, free: 15.61 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 0.0001011/0.5562, allocations: 124.4 kB / 0.5061 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.5562, allocations: 10.69 kB / 0.5061 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.557, allocations: 278 kB / 0.5064 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.557, allocations: 0 / 0.5064 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.557, allocations: 2.469 kB / 0.5064 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.557, allocations: 0 / 0.5064 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5581, allocations: 0.5883 MB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5581, allocations: 0 / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.5584, allocations: 40.55 kB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.5585, allocations: 7.188 kB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.5585, allocations: 9.172 kB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.5585, allocations: 2.906 kB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5585, allocations: 2.844 kB / 0.507 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.5591, allocations: 333.3 kB / 0.5074 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.5591, allocations: 83.77 kB / 0.5074 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.5592, allocations: 9.125 kB / 0.5074 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.5594, allocations: 15.55 kB / 0.5075 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.5595, allocations: 20.05 kB / 0.5075 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.5595, allocations: 13.7 kB / 0.5075 GB, free: 14.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.5596, allocations: 85.09 kB / 0.5076 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5596, allocations: 0 / 0.5076 GB, free: 14.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000323/0.5599, allocations: 41.78 kB / 0.5076 GB, free: 14.75 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.0002105/0.5601, allocations: 124.8 kB / 0.5077 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.5606, allocations: 191.5 kB / 0.5079 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5607, allocations: 0 / 0.5079 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5609, allocations: 108 kB / 0.508 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5614, allocations: 37.36 kB / 0.5081 GB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.5621, allocations: 340.3 kB / 0.5084 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5624, allocations: 0.6926 MB / 0.5091 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5626, allocations: 34.33 kB / 0.5091 GB, free: 13.74 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5626, allocations: 2.625 kB / 0.5091 GB, free: 13.74 MB / 394.7 MB Notification: Performance of Templates: time 0.003697/0.5663, allocations: 2.322 MB / 0.5114 GB, free: 13.57 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