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.001638/0.001638, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00203/0.00203, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2535/0.2535, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.001981/0.001981, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2024/0.5338, allocations: 154.6 MB / 0.7128 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008314/0.5421, allocations: 4.928 MB / 0.7177 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/0.543, allocations: 31.75 kB / 0.7177 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.5441, allocations: 306 kB / 0.718 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.5483, allocations: 1.363 MB / 0.7193 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.5514, allocations: 1.071 MB / 0.7204 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.5543, allocations: 1.875 MB / 0.7222 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.5552, allocations: 389.6 kB / 0.7226 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.5579, allocations: 1.121 MB / 0.7237 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.5596, allocations: 0.7861 MB / 0.7244 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.5598, allocations: 64 kB / 0.7245 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5614, allocations: 0.5657 MB / 0.725 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.5618, allocations: 271.1 kB / 0.7253 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.5623, allocations: 334.6 kB / 0.7256 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.5645, allocations: 1.3 MB / 0.7269 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5645, allocations: 4 kB / 0.7269 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5645, allocations: 0 / 0.7269 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5646, allocations: 0 / 0.7269 GB, free: 10.54 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.002604/0.5672, allocations: 1.049 MB / 0.7279 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5672, allocations: 8.031 kB / 0.7279 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.5681, allocations: 143.4 kB / 0.7281 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.5691, allocations: 481.4 kB / 0.7285 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.5693, allocations: 155.8 kB / 0.7287 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5694, allocations: 51.97 kB / 0.7287 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5709, allocations: 1.139 MB / 0.7298 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.571, allocations: 7.938 kB / 0.7298 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.5711, allocations: 27.94 kB / 0.7299 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.5711, allocations: 36.98 kB / 0.7299 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5722, allocations: 0.6243 MB / 0.7305 GB, free: 6.586 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.004907/0.5771, allocations: 3.208 MB / 0.7336 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.5778, allocations: 339.6 kB / 0.734 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.5781, allocations: 161.3 kB / 0.7341 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5782, allocations: 12.27 kB / 0.7341 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5782, allocations: 38.84 kB / 0.7342 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.374e-06/0.5782, allocations: 0 / 0.7342 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006386/0.5846, allocations: 1.609 MB / 0.7357 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5847, allocations: 140.5 kB / 0.7359 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.5855, allocations: 0.526 MB / 0.7364 GB, free: 344 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.5856, allocations: 33.7 kB / 0.7364 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2694/0.8549, allocations: 379.8 kB / 0.7368 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.8552, allocations: 150 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.8555, allocations: 162.8 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8556, allocations: 366.3 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.8561, allocations: 204.8 kB / 0.7376 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.8568, allocations: 0.5901 MB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8578, allocations: 0.7466 MB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.8579, allocations: 7.062 kB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001977/0.8598, allocations: 0.8766 MB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.8599, allocations: 9.438 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.8599, allocations: 11.09 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.8614, allocations: 308.6 kB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.8618, allocations: 127.5 kB / 0.7402 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.8628, allocations: 0.9351 MB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.8634, allocations: 29.94 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.8635, allocations: 70.83 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.0003379/0.8638, allocations: 249.6 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.8639, allocations: 61.12 kB / 0.7415 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.8655, allocations: 0.8502 MB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8655, allocations: 12.84 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8655, allocations: 0 / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.8655, allocations: 2.109 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.8671, allocations: 1.093 MB / 0.7434 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.8671, allocations: 4.688 kB / 0.7434 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.8681, allocations: 207.2 kB / 0.7436 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.439e-05/0.8682, allocations: 29.77 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.8683, allocations: 20 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.8697, allocations: 2.626 MB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8697, allocations: 0 / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.8707, allocations: 0.8204 MB / 0.7471 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.8709, allocations: 99.02 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.871, allocations: 10.39 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.8714, allocations: 19.61 kB / 0.7472 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.8715, allocations: 44.52 kB / 0.7472 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.8716, allocations: 40.73 kB / 0.7473 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003333/0.8719, allocations: 363.2 kB / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8719, allocations: 0 / 0.7476 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000862/0.8728, allocations: 258.7 kB / 0.7479 GB, free: 167.7 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.0005835/0.8733, allocations: 283.9 kB / 0.7481 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.8744, allocations: 0.5281 MB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8744, allocations: 0 / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.8752, allocations: 404.5 kB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.8765, allocations: 307.1 kB / 0.7493 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.8783, allocations: 1.382 MB / 0.7507 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.8785, allocations: 328.3 kB / 0.751 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.8789, allocations: 127.4 kB / 0.7511 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.8789, allocations: 0 / 0.7511 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01605/0.8949, allocations: 16.09 MB / 0.7668 GB, free: 148.4 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 -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: 11.436536838009488]