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.001897/0.001897, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001846/0.001846, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3505/0.3505, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.475e-06/2.475e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.322e-05, allocations: 5.547 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3953/0.3953, allocations: 154.6 MB / 0.5175 GB, free: 11.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006602/0.4019, allocations: 4.928 MB / 0.5223 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.4028, allocations: 26.06 kB / 0.5223 GB, free: 8.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.4037, allocations: 316 kB / 0.5226 GB, free: 7.887 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.4073, allocations: 1.391 MB / 0.524 GB, free: 7.129 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.4102, allocations: 1.084 MB / 0.525 GB, free: 6.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.4122, allocations: 1.88 MB / 0.5269 GB, free: 5.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.4128, allocations: 422.5 kB / 0.5273 GB, free: 5.465 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.415, allocations: 1.346 MB / 0.5286 GB, free: 4.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.4162, allocations: 0.7224 MB / 0.5293 GB, free: 4.656 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4163, allocations: 60.5 kB / 0.5293 GB, free: 4.656 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.4176, allocations: 0.554 MB / 0.5299 GB, free: 4.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.4179, allocations: 292 kB / 0.5302 GB, free: 4.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.4182, allocations: 280.7 kB / 0.5304 GB, free: 4.262 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.4197, allocations: 1.387 MB / 0.5318 GB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4198, allocations: 2.391 kB / 0.5318 GB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4198, allocations: 4 kB / 0.5318 GB, free: 3.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4198, allocations: 0 / 0.5318 GB, free: 3.785 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.001982/0.4217, allocations: 1.042 MB / 0.5328 GB, free: 3.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4218, allocations: 10.06 kB / 0.5328 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/0.4227, allocations: 221.5 kB / 0.533 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.4234, allocations: 0.4978 MB / 0.5335 GB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4235, allocations: 156 kB / 0.5337 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.4236, allocations: 52.62 kB / 0.5337 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4248, allocations: 1.141 MB / 0.5348 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4248, allocations: 0 / 0.5348 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4249, allocations: 32.45 kB / 0.5348 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/0.425, allocations: 42.45 kB / 0.5349 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.4259, allocations: 0.62 MB / 0.5355 GB, free: 1.414 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.004098/0.43, allocations: 3.216 MB / 0.5386 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.4306, allocations: 333.8 kB / 0.539 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.4309, allocations: 161.2 kB / 0.5391 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.431, allocations: 18.72 kB / 0.5391 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.4311, allocations: 48.53 kB / 0.5392 GB, free: 14.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.492e-06/0.4311, allocations: 0 / 0.5392 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005695/0.4368, allocations: 1.57 MB / 0.5407 GB, free: 13.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.4369, allocations: 137.5 kB / 0.5408 GB, free: 13.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.4376, allocations: 0.5281 MB / 0.5413 GB, free: 13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.4376, allocations: 32.02 kB / 0.5414 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.438, allocations: 396.1 kB / 0.5418 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4381, allocations: 150 kB / 0.5419 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4384, allocations: 147.9 kB / 0.542 GB, free: 12.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4386, allocations: 374.1 kB / 0.5424 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.4389, allocations: 198.2 kB / 0.5426 GB, free: 11.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.4397, allocations: 0.5862 MB / 0.5432 GB, free: 11.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.4408, allocations: 0.7513 MB / 0.5439 GB, free: 10.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4408, allocations: 2.594 kB / 0.5439 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00154/0.4423, allocations: 0.8825 MB / 0.5448 GB, free: 10.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4423, allocations: 12.22 kB / 0.5448 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4423, allocations: 14.05 kB / 0.5448 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.4437, allocations: 296.8 kB / 0.5451 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.4441, allocations: 125.3 kB / 0.5452 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.4453, allocations: 0.9177 MB / 0.5461 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.4458, allocations: 28.38 kB / 0.5461 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.4459, allocations: 58.77 kB / 0.5462 GB, free: 9.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0005956/0.4465, allocations: 250.4 kB / 0.5464 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.4467, allocations: 76.81 kB / 0.5465 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.4483, allocations: 0.813 MB / 0.5473 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4484, allocations: 9.391 kB / 0.5473 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4484, allocations: 0 / 0.5473 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4484, allocations: 0 / 0.5473 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.4505, allocations: 1.055 MB / 0.5483 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4505, allocations: 0 / 0.5483 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.4516, allocations: 207.4 kB / 0.5485 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.4518, allocations: 27.33 kB / 0.5485 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.4518, allocations: 20.25 kB / 0.5486 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.4545, allocations: 2.64 MB / 0.5511 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4545, allocations: 320 / 0.5511 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4562, allocations: 0.7986 MB / 0.5519 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.4565, allocations: 95.58 kB / 0.552 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4566, allocations: 19.92 kB / 0.552 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.4571, allocations: 13 kB / 0.552 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4572, allocations: 39.88 kB / 0.5521 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.4573, allocations: 35.98 kB / 0.5521 GB, free: 4.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005995/0.4579, allocations: 362.8 kB / 0.5525 GB, free: 3.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4579, allocations: 0 / 0.5525 GB, free: 3.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001149/0.459, allocations: 255.7 kB / 0.5527 GB, free: 3.457 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.0008402/0.4599, allocations: 283.6 kB / 0.553 GB, free: 3.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.4612, allocations: 0.516 MB / 0.5535 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4612, allocations: 8 kB / 0.5535 GB, free: 2.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.4624, allocations: 390.3 kB / 0.5539 GB, free: 2.254 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.4641, allocations: 336.2 kB / 0.5542 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.4668, allocations: 1.252 MB / 0.5554 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.4673, allocations: 336.2 kB / 0.5557 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.4684, allocations: 441.3 kB / 0.5561 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.4687, allocations: 96.39 kB / 0.5562 GB, free: 15.77 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4687, allocations: 0 / 0.5562 GB, free: 15.77 MB / 442.7 MB Notification: Performance of Templates: time 0.03073/0.4995, allocations: 15.39 MB / 0.5713 GB, free: 0.6289 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 5.9478390120202675]