Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001072/0.001072, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001128/0.001128, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9638/0.9638, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2605/0.2605, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.799e-05, allocations: 5.266 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3559/0.356, allocations: 146.9 MB / 0.5111 GB, free: 18.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.36, allocations: 2.581 MB / 0.5136 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.3604, allocations: 32.06 kB / 0.5137 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.361, allocations: 206.3 kB / 0.5139 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.3634, allocations: 1.179 MB / 0.515 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3649, allocations: 0.8189 MB / 0.5158 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.3666, allocations: 1.903 MB / 0.5177 GB, free: 14.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.3672, allocations: 432.8 kB / 0.5181 GB, free: 14.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.3688, allocations: 1.231 MB / 0.5193 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.3695, allocations: 0.597 MB / 0.5199 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3696, allocations: 60.34 kB / 0.5199 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006911/0.3703, allocations: 452.4 kB / 0.5203 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.3705, allocations: 283.3 kB / 0.5206 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.3708, allocations: 289 kB / 0.5209 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.3718, allocations: 0.9906 MB / 0.5219 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3718, allocations: 2.5 kB / 0.5219 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3718, allocations: 0 / 0.5219 GB, free: 12.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3718, allocations: 0 / 0.5219 GB, free: 12.88 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.001341/0.3731, allocations: 1.119 MB / 0.523 GB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3732, allocations: 10.94 kB / 0.523 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.3737, allocations: 215.3 kB / 0.5232 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3742, allocations: 490.9 kB / 0.5236 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.3743, allocations: 158.2 kB / 0.5238 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.3743, allocations: 55.67 kB / 0.5238 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.3749, allocations: 0.933 MB / 0.5248 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3749, allocations: 3.031 kB / 0.5248 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3749, allocations: 26.61 kB / 0.5248 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.375, allocations: 44.42 kB / 0.5248 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.3753, allocations: 255.8 kB / 0.5251 GB, free: 10.66 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.00195/0.3772, allocations: 3.767 MB / 0.5287 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3775, allocations: 202.7 kB / 0.5289 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.3775, allocations: 68.23 kB / 0.529 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/0.3776, allocations: 33.14 kB / 0.529 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3776, allocations: 40.58 kB / 0.5291 GB, free: 7.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.3776, allocations: 2.562 kB / 0.5291 GB, free: 7.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002267/0.3799, allocations: 0.9914 MB / 0.53 GB, free: 6.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.3799, allocations: 144.2 kB / 0.5302 GB, free: 6.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3802, allocations: 0.5438 MB / 0.5307 GB, free: 6.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3803, allocations: 32.02 kB / 0.5307 GB, free: 6.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3804, allocations: 447.1 kB / 0.5312 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.3805, allocations: 156.4 kB / 0.5313 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3806, allocations: 163.9 kB / 0.5315 GB, free: 5.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.3807, allocations: 0.554 MB / 0.532 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.3808, allocations: 73.47 kB / 0.5321 GB, free: 5.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3811, allocations: 0.626 MB / 0.5327 GB, free: 4.398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.3815, allocations: 0.68 MB / 0.5334 GB, free: 3.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3815, allocations: 2.531 kB / 0.5334 GB, free: 3.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006411/0.3821, allocations: 0.6292 MB / 0.534 GB, free: 3.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3821, allocations: 8.844 kB / 0.534 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3822, allocations: 10.97 kB / 0.534 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.3828, allocations: 236.9 kB / 0.5342 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.383, allocations: 132.6 kB / 0.5344 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000513/0.3835, allocations: 0.9828 MB / 0.5353 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3837, allocations: 24.33 kB / 0.5353 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.3838, allocations: 57.39 kB / 0.5354 GB, free: 2.543 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.0001538/0.3839, allocations: 212.8 kB / 0.5356 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.384, allocations: 82.27 kB / 0.5357 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.3848, allocations: 0.6604 MB / 0.5363 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3848, allocations: 5.719 kB / 0.5363 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3848, allocations: 7.922 kB / 0.5363 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3848, allocations: 2.672 kB / 0.5363 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/0.3856, allocations: 0.8333 MB / 0.5371 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3856, allocations: 2.219 kB / 0.5371 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.3861, allocations: 175.7 kB / 0.5373 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/0.3861, allocations: 22.23 kB / 0.5373 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3862, allocations: 20 kB / 0.5374 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.3876, allocations: 3.517 MB / 0.5408 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3876, allocations: 0 / 0.5408 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.3883, allocations: 0.5679 MB / 0.5413 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3884, allocations: 94.73 kB / 0.5414 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.3885, allocations: 13.39 kB / 0.5414 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3887, allocations: 11.91 kB / 0.5415 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.3888, allocations: 45.59 kB / 0.5415 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3888, allocations: 33.25 kB / 0.5415 GB, free: 13.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.3891, allocations: 327.4 kB / 0.5418 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3891, allocations: 0 / 0.5418 GB, free: 13.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000724/0.3898, allocations: 250.6 kB / 0.5421 GB, free: 13.29 MB / 426.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.000496/0.3903, allocations: 258.2 kB / 0.5423 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.3909, allocations: 360 kB / 0.5427 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3909, allocations: 3.406 kB / 0.5427 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.3914, allocations: 362.2 kB / 0.543 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.3924, allocations: 322.6 kB / 0.5433 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3942, allocations: 1.162 MB / 0.5445 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3943, allocations: 165.9 kB / 0.5446 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006555/0.395, allocations: 364.3 kB / 0.545 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.3957, allocations: 384.9 kB / 0.5453 GB, free: 11.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3957, allocations: 2.312 kB / 0.5453 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0224/0.4181, allocations: 16.57 MB / 0.5615 GB, free: 13.66 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.048765670973808]