Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.0008675/0.0008675, allocations: 81.97 kB / 22.21 MB, free: 2.297 MB / 18.57 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.001543/0.001543, allocations: 164.5 kB / 25.61 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8992/0.8992, allocations: 177.1 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1584/0.1584, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 3.938 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.968e-05, allocations: 5.406 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2918/0.2918, allocations: 146.9 MB / 0.5138 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2948, allocations: 2.578 MB / 0.5164 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.2951, allocations: 33.47 kB / 0.5164 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.2956, allocations: 212.6 kB / 0.5166 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.2973, allocations: 1.171 MB / 0.5177 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.2985, allocations: 0.8332 MB / 0.5185 GB, free: 16.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.2998, allocations: 1.903 MB / 0.5204 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.3002, allocations: 420.8 kB / 0.5208 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.3016, allocations: 1.234 MB / 0.522 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.3022, allocations: 0.5948 MB / 0.5226 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.31e-05/0.3023, allocations: 60.16 kB / 0.5226 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.3028, allocations: 449.6 kB / 0.5231 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.303, allocations: 286.1 kB / 0.5234 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3032, allocations: 282 kB / 0.5236 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009103/0.3041, allocations: 0.9955 MB / 0.5246 GB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3041, allocations: 0 / 0.5246 GB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3041, allocations: 0 / 0.5246 GB, free: 15.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3041, allocations: 0 / 0.5246 GB, free: 15.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001164/0.3053, allocations: 1.124 MB / 0.5257 GB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.3053, allocations: 10.91 kB / 0.5257 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.3058, allocations: 216.2 kB / 0.5259 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.3063, allocations: 486 kB / 0.5264 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.3063, allocations: 152.5 kB / 0.5265 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.3064, allocations: 56.44 kB / 0.5266 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3069, allocations: 0.9403 MB / 0.5275 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.307, allocations: 2.438 kB / 0.5275 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.307, allocations: 30 kB / 0.5275 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.3071, allocations: 38.41 kB / 0.5276 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3073, allocations: 253.2 kB / 0.5278 GB, free: 13.75 MB / 410.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.001736/0.3091, allocations: 3.788 MB / 0.5315 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3093, allocations: 196.5 kB / 0.5317 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.3094, allocations: 73.64 kB / 0.5318 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.3094, allocations: 18.08 kB / 0.5318 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3094, allocations: 45.27 kB / 0.5318 GB, free: 10.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.3095, allocations: 0 / 0.5318 GB, free: 10.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002195/0.3116, allocations: 0.983 MB / 0.5328 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.3117, allocations: 136.6 kB / 0.5329 GB, free: 10.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.3119, allocations: 0.5513 MB / 0.5334 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.312, allocations: 34.36 kB / 0.5335 GB, free: 9.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3121, allocations: 438.8 kB / 0.5339 GB, free: 9.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.3122, allocations: 152.3 kB / 0.534 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3123, allocations: 169.9 kB / 0.5342 GB, free: 9.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.3124, allocations: 0.5523 MB / 0.5347 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3125, allocations: 77.62 kB / 0.5348 GB, free: 9.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3128, allocations: 0.6291 MB / 0.5354 GB, free: 8.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3132, allocations: 0.67 MB / 0.5361 GB, free: 7.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3132, allocations: 2.031 kB / 0.5361 GB, free: 7.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006317/0.3138, allocations: 0.6252 MB / 0.5367 GB, free: 7.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3138, allocations: 13.98 kB / 0.5367 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3138, allocations: 10.69 kB / 0.5367 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.3144, allocations: 235.5 kB / 0.5369 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3146, allocations: 128 kB / 0.5371 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004365/0.3151, allocations: 0.9901 MB / 0.538 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.3153, allocations: 28.33 kB / 0.5381 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.3154, allocations: 59.41 kB / 0.5381 GB, free: 6.859 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3155, allocations: 209.9 kB / 0.5383 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.3156, allocations: 77.08 kB / 0.5384 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.3163, allocations: 0.6597 MB / 0.539 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3163, allocations: 6.531 kB / 0.539 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3163, allocations: 6.406 kB / 0.539 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3163, allocations: 2.109 kB / 0.539 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/0.3171, allocations: 0.8298 MB / 0.5399 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3171, allocations: 0 / 0.5399 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.3175, allocations: 176 kB / 0.54 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-05/0.3176, allocations: 26.42 kB / 0.5401 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.3176, allocations: 18.95 kB / 0.5401 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007514/0.3184, allocations: 3.509 MB / 0.5435 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3184, allocations: 4.234 kB / 0.5435 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3188, allocations: 0.5665 MB / 0.5441 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.319, allocations: 98.77 kB / 0.5441 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.319, allocations: 16.06 kB / 0.5442 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3192, allocations: 17.11 kB / 0.5442 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.3192, allocations: 38.62 kB / 0.5442 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3193, allocations: 32.16 kB / 0.5442 GB, free: 2.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3194, allocations: 328.2 kB / 0.5446 GB, free: 2.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3194, allocations: 0 / 0.5446 GB, free: 2.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005266/0.32, allocations: 252 kB / 0.5448 GB, free: 2.137 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0003769/0.3203, allocations: 265.4 kB / 0.5451 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.3208, allocations: 361.5 kB / 0.5454 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3208, allocations: 3.938 kB / 0.5454 GB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.3212, allocations: 359.3 kB / 0.5457 GB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.3219, allocations: 316.5 kB / 0.546 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3233, allocations: 1.152 MB / 0.5472 GB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.362e-05/0.3233, allocations: 166.2 kB / 0.5473 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.3238, allocations: 368.5 kB / 0.5477 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.3243, allocations: 377.2 kB / 0.548 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3243, allocations: 0 / 0.548 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of Templates: time 0.01712/0.3414, allocations: 16.85 MB / 0.5645 GB, free: 5.422 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.804560476914048]