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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 107 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 187.7 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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=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.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.001735/0.001735, allocations: 54.73 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2554, allocations: 49.12 MB / 394.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1807/0.4362, allocations: 150.9 MB / 0.533 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4382, allocations: 1.542 MB / 0.5345 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.4382, allocations: 0 / 0.5345 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.4384, allocations: 23.89 kB / 0.5345 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.4393, allocations: 318.3 kB / 0.5348 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.4395, allocations: 55.75 kB / 0.5349 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.4396, allocations: 83.52 kB / 0.535 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.4396, allocations: 7.656 kB / 0.535 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.4397, allocations: 31.86 kB / 0.535 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.4398, allocations: 31.84 kB / 0.535 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.4398, allocations: 0 / 0.535 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.4406, allocations: 371.5 kB / 0.5354 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.4406, allocations: 7.984 kB / 0.5354 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.4406, allocations: 23.88 kB / 0.5354 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.4412, allocations: 292.8 kB / 0.5357 GB, free: 9.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4412, allocations: 4 kB / 0.5357 GB, free: 9.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4412, allocations: 3.938 kB / 0.5357 GB, free: 9.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4412, allocations: 0 / 0.5357 GB, free: 9.762 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.0009223/0.4422, allocations: 442.8 kB / 0.5361 GB, free: 9.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4422, allocations: 12.03 kB / 0.5361 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005984/0.4482, allocations: 456.2 kB / 0.5366 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4484, allocations: 164.4 kB / 0.5367 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4484, allocations: 11.94 kB / 0.5367 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.811e-05/0.4485, allocations: 8 kB / 0.5367 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.4494, allocations: 297.3 kB / 0.537 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4494, allocations: 3.938 kB / 0.537 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.4495, allocations: 7.938 kB / 0.537 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4495, allocations: 0 / 0.537 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.4503, allocations: 279.7 kB / 0.5373 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4514, allocations: 428.7 kB / 0.5377 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4525, allocations: 194.4 kB / 0.5379 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4527, allocations: 65.06 kB / 0.538 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.4527, allocations: 8 kB / 0.538 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4527, allocations: 42.5 kB / 0.538 GB, free: 7.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.4527, allocations: 0 / 0.538 GB, free: 7.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.00183/0.4546, allocations: 429 kB / 0.5384 GB, free: 6.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4546, allocations: 55.41 kB / 0.5385 GB, free: 6.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.4547, allocations: 97.86 kB / 0.5386 GB, free: 6.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.4548, allocations: 25.7 kB / 0.5386 GB, free: 6.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.4548, allocations: 104 kB / 0.5387 GB, free: 6.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.4549, allocations: 55.48 kB / 0.5387 GB, free: 6.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.455, allocations: 41.7 kB / 0.5388 GB, free: 6.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4552, allocations: 322.8 kB / 0.5391 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.4554, allocations: 75.94 kB / 0.5392 GB, free: 5.996 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4557, allocations: 120.2 kB / 0.5393 GB, free: 5.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.4563, allocations: 204.2 kB / 0.5395 GB, free: 5.648 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4563, allocations: 3.938 kB / 0.5395 GB, free: 5.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007268/0.4571, allocations: 241.4 kB / 0.5397 GB, free: 5.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4571, allocations: 8 kB / 0.5397 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4571, allocations: 0 / 0.5397 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4571, allocations: 0 / 0.5397 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.4575, allocations: 55.89 kB / 0.5398 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4575, allocations: 3.984 kB / 0.5398 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.4578, allocations: 16.11 kB / 0.5398 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.4578, allocations: 15.98 kB / 0.5398 GB, free: 5.305 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.0001374/0.4579, allocations: 129.7 kB / 0.5399 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.458, allocations: 7.953 kB / 0.5399 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.4589, allocations: 282.2 kB / 0.5402 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4589, allocations: 0 / 0.5402 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4589, allocations: 4 kB / 0.5402 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4589, allocations: 3.984 kB / 0.5402 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.4603, allocations: 0.5779 MB / 0.5408 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4603, allocations: 4 kB / 0.5408 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.4607, allocations: 47.97 kB / 0.5408 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4607, allocations: 0 / 0.5408 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.4607, allocations: 11.98 kB / 0.5408 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4607, allocations: 0 / 0.5408 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4607, allocations: 3.938 kB / 0.5408 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.4614, allocations: 337.4 kB / 0.5412 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4615, allocations: 85.06 kB / 0.5412 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.4615, allocations: 7.984 kB / 0.5412 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.4618, allocations: 15.98 kB / 0.5413 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.4618, allocations: 19.92 kB / 0.5413 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.4618, allocations: 8 kB / 0.5413 GB, free: 3.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.4619, allocations: 83.27 kB / 0.5414 GB, free: 3.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4619, allocations: 0 / 0.5414 GB, free: 3.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.4622, allocations: 44 kB / 0.5414 GB, free: 3.535 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.0002536/0.4625, allocations: 127.1 kB / 0.5415 GB, free: 3.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006718/0.4632, allocations: 187.8 kB / 0.5417 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4632, allocations: 4.25 kB / 0.5417 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.4635, allocations: 95.81 kB / 0.5418 GB, free: 3.121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4639, allocations: 31.97 kB / 0.5418 GB, free: 3.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.4648, allocations: 312 kB / 0.5421 GB, free: 2.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4651, allocations: 0.6928 MB / 0.5428 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.4653, allocations: 35.41 kB / 0.5428 GB, free: 1.992 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4653, allocations: 0 / 0.5428 GB, free: 1.992 MB / 462.1 MB Notification: Performance of Templates: time 0.004698/0.47, allocations: 2.354 MB / 0.5451 GB, free: 15.64 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