Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 209.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 75.88 kB / 0.4974 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3292, allocations: 66.1 MB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1978/0.527, allocations: 154.6 MB / 0.7129 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008147/0.5351, allocations: 4.924 MB / 0.7178 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.536, allocations: 27.75 kB / 0.7178 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5371, allocations: 306 kB / 0.7181 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.5414, allocations: 1.362 MB / 0.7194 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.5445, allocations: 1.071 MB / 0.7204 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.5473, allocations: 1.875 MB / 0.7223 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008949/0.5482, allocations: 389.6 kB / 0.7227 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.5511, allocations: 1.117 MB / 0.7237 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.5528, allocations: 0.7627 MB / 0.7245 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.5531, allocations: 67.94 kB / 0.7246 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.5547, allocations: 0.55 MB / 0.7251 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.5551, allocations: 275.2 kB / 0.7254 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.5558, allocations: 338.5 kB / 0.7257 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.5581, allocations: 1.3 MB / 0.7269 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5581, allocations: 0 / 0.7269 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5581, allocations: 0 / 0.7269 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.493e-05/0.5581, allocations: 0 / 0.7269 GB, free: 10.35 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.002684/0.5608, allocations: 1.041 MB / 0.728 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5608, allocations: 12.03 kB / 0.728 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.5617, allocations: 151.3 kB / 0.7281 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5628, allocations: 481.3 kB / 0.7286 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.563, allocations: 147.8 kB / 0.7287 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5631, allocations: 51.98 kB / 0.7288 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5646, allocations: 1.14 MB / 0.7299 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5646, allocations: 3.938 kB / 0.7299 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.5647, allocations: 27.94 kB / 0.7299 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.5648, allocations: 36.97 kB / 0.7299 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5659, allocations: 0.6166 MB / 0.7305 GB, free: 6.414 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.004728/0.5707, allocations: 3.223 MB / 0.7337 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.5713, allocations: 342.4 kB / 0.734 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.5716, allocations: 153.3 kB / 0.7342 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.069e-05/0.5717, allocations: 12.28 kB / 0.7342 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5717, allocations: 38.84 kB / 0.7342 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.5717, allocations: 0 / 0.7342 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005836/0.5775, allocations: 1.617 MB / 0.7358 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.5776, allocations: 132.5 kB / 0.7359 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.5783, allocations: 0.526 MB / 0.7364 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.5784, allocations: 29.7 kB / 0.7365 GB, free: 124 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2699/0.8483, allocations: 385.2 kB / 0.7368 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.8485, allocations: 149.9 kB / 0.737 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.8489, allocations: 162.7 kB / 0.7371 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.849, allocations: 366.9 kB / 0.7375 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.8495, allocations: 202.8 kB / 0.7377 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.8502, allocations: 0.5893 MB / 0.7382 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8514, allocations: 0.7474 MB / 0.739 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.8514, allocations: 3.25 kB / 0.739 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001755/0.8531, allocations: 0.8753 MB / 0.7398 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8532, allocations: 9.125 kB / 0.7398 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.8532, allocations: 10 kB / 0.7399 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.8546, allocations: 312.6 kB / 0.7402 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.8549, allocations: 124.8 kB / 0.7403 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009386/0.8559, allocations: 0.9363 MB / 0.7412 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.8564, allocations: 25.28 kB / 0.7412 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.8565, allocations: 67.5 kB / 0.7413 GB, free: 173.2 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.0003321/0.8568, allocations: 245.3 kB / 0.7415 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8569, allocations: 64.8 kB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.8584, allocations: 0.8606 MB / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.8584, allocations: 5.188 kB / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8584, allocations: 0 / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.8585, allocations: 2.438 kB / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.8601, allocations: 1.093 MB / 0.7435 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.8601, allocations: 7.938 kB / 0.7435 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.861, allocations: 204 kB / 0.7437 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.192e-05/0.8611, allocations: 31.38 kB / 0.7437 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.8612, allocations: 27.22 kB / 0.7437 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.8625, allocations: 2.627 MB / 0.7463 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8625, allocations: 3.938 kB / 0.7463 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/0.8635, allocations: 0.8207 MB / 0.7471 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.8638, allocations: 106.8 kB / 0.7472 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.8639, allocations: 8 kB / 0.7472 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.8642, allocations: 19.52 kB / 0.7472 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.8643, allocations: 45.19 kB / 0.7473 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.8644, allocations: 43.84 kB / 0.7473 GB, free: 168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003623/0.8647, allocations: 359.1 kB / 0.7477 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8647, allocations: 0 / 0.7477 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009286/0.8656, allocations: 253.7 kB / 0.7479 GB, free: 167.5 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.0005553/0.8662, allocations: 281.4 kB / 0.7482 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.8672, allocations: 0.527 MB / 0.7487 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8672, allocations: 0 / 0.7487 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.868, allocations: 404.4 kB / 0.7491 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.8693, allocations: 300.2 kB / 0.7494 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.8712, allocations: 1.384 MB / 0.7507 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.8714, allocations: 324.3 kB / 0.751 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.8717, allocations: 127.4 kB / 0.7511 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.8717, allocations: 0 / 0.7511 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01629/0.888, allocations: 16.09 MB / 0.7669 GB, free: 148.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.05504977190867]