Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.0007953/0.0007953, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002027, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007455/0.0007455, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001809, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9469/0.9469, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1692/1.116, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.364e-05, allocations: 2.312 kB / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3559/0.356, allocations: 145.9 MB / 367.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3577, allocations: 0.7076 MB / 368.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.3579, allocations: 4 kB / 368.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3582, allocations: 98.05 kB / 368.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.3589, allocations: 393.5 kB / 369.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.3597, allocations: 355.9 kB / 369.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.3606, allocations: 0.9307 MB / 370.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.3608, allocations: 75.28 kB / 370.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.3626, allocations: 0.9315 MB / 371.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.363, allocations: 235.3 kB / 371.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.363, allocations: 28 kB / 371.7 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.3634, allocations: 123.8 kB / 371.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3635, allocations: 83.72 kB / 371.9 MB, free: 8.629 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3636, allocations: 111.9 kB / 372 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.3641, allocations: 331.7 kB / 372.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.3641, allocations: 4 kB / 372.3 MB, free: 8.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3641, allocations: 0 / 372.3 MB, free: 8.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3641, allocations: 0 / 372.3 MB, free: 8.191 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000752/0.3649, allocations: 0.5704 MB / 372.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3649, allocations: 11.97 kB / 372.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.3652, allocations: 161.7 kB / 373 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.3655, allocations: 201 kB / 373.2 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3656, allocations: 20.5 kB / 373.3 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.3656, allocations: 28 kB / 373.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.366, allocations: 478.2 kB / 373.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.366, allocations: 0 / 373.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.366, allocations: 12 kB / 373.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3661, allocations: 8 kB / 373.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3662, allocations: 95.3 kB / 373.9 MB, free: 6.48 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3672, allocations: 0.9892 MB / 374.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3673, allocations: 109.6 kB / 375 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3674, allocations: 54.08 kB / 375 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3674, allocations: 4 kB / 375 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3674, allocations: 38.56 kB / 375.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.3675, allocations: 0 / 375.1 MB, free: 5.234 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00269/0.3701, allocations: 0.9112 MB / 376 MB, free: 4.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3702, allocations: 59.41 kB / 376 MB, free: 4.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3703, allocations: 200.8 kB / 376.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3703, allocations: 29.7 kB / 376.2 MB, free: 3.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3704, allocations: 181.3 kB / 376.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.3704, allocations: 103.1 kB / 376.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.3705, allocations: 77.44 kB / 376.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.3706, allocations: 334.8 kB / 376.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.3706, allocations: 31.98 kB / 377 MB, free: 3.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.3707, allocations: 124 kB / 377.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3709, allocations: 218.5 kB / 377.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3709, allocations: 7.938 kB / 377.3 MB, free: 2.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002491/0.3711, allocations: 227 kB / 377.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3711, allocations: 8.406 kB / 377.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3711, allocations: 11.88 kB / 377.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.3713, allocations: 45.69 kB / 377.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3715, allocations: 99.88 kB / 377.7 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3729, allocations: 2.438 MB / 380.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.373, allocations: 8 kB / 380.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.373, allocations: 24 kB / 380.2 MB, free: 15.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3731, allocations: 128.5 kB / 380.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.3732, allocations: 31.91 kB / 380.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3735, allocations: 275.4 kB / 380.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3735, allocations: 0 / 380.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3735, allocations: 0 / 380.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002259/0.3737, allocations: 460.7 kB / 381 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.3742, allocations: 417 kB / 381.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3742, allocations: 0 / 381.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.3744, allocations: 79.86 kB / 381.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.3744, allocations: 23.8 kB / 381.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-05/0.3745, allocations: 20.83 kB / 381.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3745, allocations: 8 kB / 381.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.3754, allocations: 1.158 MB / 382.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3754, allocations: 0 / 382.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3756, allocations: 297.8 kB / 383 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3757, allocations: 4 kB / 383 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3758, allocations: 11.98 kB / 383 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.3758, allocations: 24.12 kB / 383.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3758, allocations: 19.92 kB / 383.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.3759, allocations: 66.78 kB / 383.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3759, allocations: 0 / 383.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000346/0.3762, allocations: 119.9 kB / 383.3 MB, free: 12.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002921/0.3765, allocations: 128.2 kB / 383.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.3769, allocations: 390.7 kB / 383.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.3769, allocations: 8 kB / 383.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3771, allocations: 215.3 kB / 384 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.3777, allocations: 0.6756 MB / 384.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.3818, allocations: 0.5853 MB / 385.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.3819, allocations: 92.56 kB / 385.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.3821, allocations: 86.92 kB / 385.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.3824, allocations: 189.1 kB / 385.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3824, allocations: 0 / 385.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of Templates: time 0.01255/0.395, allocations: 8.544 MB / 394.1 MB, free: 1.273 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.323626692406833]