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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 112.5 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00241/0.00241, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.92 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.252, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1856/0.4375, allocations: 150.9 MB / 0.5357 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4396, allocations: 1.534 MB / 0.5372 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.4397, allocations: 4 kB / 0.5372 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.4399, allocations: 31.83 kB / 0.5372 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.4409, allocations: 318.3 kB / 0.5375 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.4411, allocations: 63.67 kB / 0.5375 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.4413, allocations: 75.59 kB / 0.5376 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.4413, allocations: 7.656 kB / 0.5376 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.4414, allocations: 39.73 kB / 0.5377 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.4415, allocations: 31.91 kB / 0.5377 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.4415, allocations: 4 kB / 0.5377 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008437/0.4424, allocations: 351.5 kB / 0.538 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.4424, allocations: 23.84 kB / 0.5381 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.4424, allocations: 23.94 kB / 0.5381 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.4431, allocations: 292.8 kB / 0.5384 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4431, allocations: 0 / 0.5384 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4431, allocations: 0 / 0.5384 GB, free: 9.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.4431, allocations: 0 / 0.5384 GB, free: 9.137 MB / 462.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.0009598/0.4441, allocations: 369.7 kB / 0.5387 GB, free: 8.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4441, allocations: 11.98 kB / 0.5387 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/0.4501, allocations: 460.2 kB / 0.5392 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4502, allocations: 110.5 kB / 0.5393 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4502, allocations: 7.938 kB / 0.5393 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.4503, allocations: 8 kB / 0.5393 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.4511, allocations: 301.3 kB / 0.5396 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4512, allocations: 0 / 0.5396 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.4512, allocations: 0 / 0.5396 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4512, allocations: 4 kB / 0.5396 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.4521, allocations: 275.8 kB / 0.5398 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4532, allocations: 399.7 kB / 0.5402 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4543, allocations: 194.4 kB / 0.5404 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4545, allocations: 73.06 kB / 0.5405 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4545, allocations: 0 / 0.5405 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4545, allocations: 42.5 kB / 0.5405 GB, free: 6.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.4545, allocations: 0 / 0.5405 GB, free: 6.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001821/0.4564, allocations: 429 kB / 0.5409 GB, free: 6.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4564, allocations: 51.41 kB / 0.541 GB, free: 6.316 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.4565, allocations: 101.8 kB / 0.5411 GB, free: 6.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.4565, allocations: 37.7 kB / 0.5411 GB, free: 6.164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4566, allocations: 95.97 kB / 0.5412 GB, free: 6.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.4567, allocations: 59.48 kB / 0.5413 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4568, allocations: 45.69 kB / 0.5413 GB, free: 5.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4569, allocations: 314.8 kB / 0.5416 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4572, allocations: 75.94 kB / 0.5417 GB, free: 5.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.4575, allocations: 120.2 kB / 0.5418 GB, free: 5.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.4581, allocations: 200.2 kB / 0.542 GB, free: 5.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4581, allocations: 3.938 kB / 0.542 GB, free: 5.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006889/0.4588, allocations: 249.3 kB / 0.5422 GB, free: 4.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4588, allocations: 4 kB / 0.5422 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4588, allocations: 0 / 0.5422 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4588, allocations: 4 kB / 0.5422 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.4592, allocations: 51.95 kB / 0.5423 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4592, allocations: 3.938 kB / 0.5423 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4595, allocations: 16.11 kB / 0.5423 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.4595, allocations: 19.98 kB / 0.5423 GB, free: 4.871 MB / 462.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.0001356/0.4597, allocations: 117.8 kB / 0.5424 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.4597, allocations: 8.141 kB / 0.5424 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.4605, allocations: 282.1 kB / 0.5427 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4605, allocations: 4 kB / 0.5427 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4605, allocations: 4 kB / 0.5427 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4605, allocations: 0 / 0.5427 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.462, allocations: 0.5503 MB / 0.5432 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.462, allocations: 0 / 0.5432 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.4623, allocations: 51.91 kB / 0.5433 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4623, allocations: 0 / 0.5433 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4624, allocations: 7.984 kB / 0.5433 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4624, allocations: 4 kB / 0.5433 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4624, allocations: 3.938 kB / 0.5433 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.4631, allocations: 337.5 kB / 0.5436 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.4631, allocations: 3.953 kB / 0.5436 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.4632, allocations: 11.98 kB / 0.5436 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.4635, allocations: 15.98 kB / 0.5437 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.4635, allocations: 15.92 kB / 0.5437 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.4635, allocations: 11.98 kB / 0.5437 GB, free: 3.371 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.4636, allocations: 79.28 kB / 0.5438 GB, free: 3.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4636, allocations: 0 / 0.5438 GB, free: 3.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.464, allocations: 44 kB / 0.5438 GB, free: 3.25 MB / 462.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.0002613/0.4642, allocations: 127.1 kB / 0.5439 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.4649, allocations: 193.3 kB / 0.5441 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4649, allocations: 0 / 0.5441 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.4652, allocations: 95.86 kB / 0.5442 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4657, allocations: 36.03 kB / 0.5442 GB, free: 2.801 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.4666, allocations: 312.3 kB / 0.5445 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.467, allocations: 0.6928 MB / 0.5452 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4671, allocations: 43.53 kB / 0.5453 GB, free: 1.688 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4671, allocations: 0 / 0.5453 GB, free: 1.688 MB / 462.1 MB Notification: Performance of Templates: time 0.005009/0.4722, allocations: 2.334 MB / 0.5475 GB, free: 15.34 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.476763277081773]