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.0013/0.0013, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001478/0.001478, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2233/0.2233, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 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 0.002017/0.002017, allocations: 59.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.202/0.53, allocations: 154.6 MB / 0.7128 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00843/0.5384, allocations: 4.936 MB / 0.7177 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.5392, allocations: 27.75 kB / 0.7177 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009515/0.5401, allocations: 306 kB / 0.718 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.5441, allocations: 1.363 MB / 0.7193 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.547, allocations: 1.07 MB / 0.7204 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.5494, allocations: 1.871 MB / 0.7222 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.5499, allocations: 401.6 kB / 0.7226 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.5523, allocations: 1.117 MB / 0.7237 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5537, allocations: 0.79 MB / 0.7244 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.5538, allocations: 64 kB / 0.7245 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5552, allocations: 0.5649 MB / 0.725 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.5556, allocations: 271.2 kB / 0.7253 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.556, allocations: 334.6 kB / 0.7256 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.558, allocations: 1.304 MB / 0.7269 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.558, allocations: 0 / 0.7269 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.558, allocations: 4 kB / 0.7269 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.558, allocations: 0 / 0.7269 GB, free: 10.51 MB / 0.5606 GB 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.002424/0.5604, allocations: 1.051 MB / 0.7279 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5604, allocations: 8.031 kB / 0.7279 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.5613, allocations: 143.4 kB / 0.7281 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.5623, allocations: 469.5 kB / 0.7285 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.5625, allocations: 159.8 kB / 0.7287 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5626, allocations: 51.94 kB / 0.7287 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.5641, allocations: 1.136 MB / 0.7298 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.5642, allocations: 11.94 kB / 0.7298 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.5642, allocations: 27.92 kB / 0.7299 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/0.5643, allocations: 36.98 kB / 0.7299 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.5654, allocations: 0.6204 MB / 0.7305 GB, free: 6.574 MB / 0.5606 GB 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.004695/0.5701, allocations: 3.215 MB / 0.7336 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.5707, allocations: 339.6 kB / 0.734 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.571, allocations: 157.3 kB / 0.7341 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5711, allocations: 12.27 kB / 0.7341 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5712, allocations: 42.84 kB / 0.7342 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.5712, allocations: 0 / 0.7342 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005881/0.5771, allocations: 1.609 MB / 0.7357 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.5772, allocations: 132.5 kB / 0.7359 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.5779, allocations: 0.5299 MB / 0.7364 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.578, allocations: 37.7 kB / 0.7364 GB, free: 284 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2563/0.8342, allocations: 381.2 kB / 0.7368 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.8344, allocations: 149.8 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.8347, allocations: 154.4 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8349, allocations: 371.8 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.8353, allocations: 203.4 kB / 0.7376 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.836, allocations: 0.5897 MB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.837, allocations: 0.7498 MB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.837, allocations: 3.281 kB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001602/0.8386, allocations: 0.8692 MB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.8386, allocations: 8.906 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.8387, allocations: 10.91 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.8401, allocations: 322.9 kB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.8404, allocations: 122.8 kB / 0.7402 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/0.8413, allocations: 0.9261 MB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.8418, allocations: 29.05 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.8419, allocations: 69.44 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB 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.0002946/0.8422, allocations: 252.7 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8423, allocations: 63.23 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.8438, allocations: 0.853 MB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.8438, allocations: 3.781 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8438, allocations: 7.75 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.8438, allocations: 2.438 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.8453, allocations: 1.085 MB / 0.7434 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8454, allocations: 3.938 kB / 0.7434 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.8464, allocations: 213.4 kB / 0.7436 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.344e-05/0.8465, allocations: 27.39 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.8465, allocations: 18.62 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.8479, allocations: 2.627 MB / 0.7462 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8479, allocations: 4.031 kB / 0.7463 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.8488, allocations: 0.8156 MB / 0.747 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.8491, allocations: 108.6 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.8492, allocations: 12 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.8495, allocations: 16.34 kB / 0.7472 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.8496, allocations: 44.11 kB / 0.7472 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.8496, allocations: 42.91 kB / 0.7473 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00031/0.85, allocations: 357.1 kB / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.85, allocations: 0 / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008275/0.8508, allocations: 257 kB / 0.7478 GB, free: 167.6 MB / 0.5606 GB 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 (39): * Single equations (assignments): 37 * 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.0005544/0.8513, allocations: 295.7 kB / 0.7481 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000927/0.8523, allocations: 0.5269 MB / 0.7486 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8523, allocations: 0 / 0.7486 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.8531, allocations: 416.7 kB / 0.749 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8544, allocations: 306 kB / 0.7493 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.856, allocations: 1.333 MB / 0.7506 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.8562, allocations: 332.3 kB / 0.751 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007602/0.857, allocations: 450.3 kB / 0.7514 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.8573, allocations: 107.4 kB / 0.7515 GB, free: 164 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.8573, allocations: 0 / 0.7515 GB, free: 164 MB / 0.5606 GB Notification: Performance of Templates: time 0.02028/0.8775, allocations: 16.94 MB / 0.768 GB, free: 147.3 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.050405321992002]