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.001355/0.001355, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001596/0.001596, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.2419/0.2419, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 65.46 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2596/0.6068, allocations: 154.7 MB / 0.7085 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008191/0.615, allocations: 4.927 MB / 0.7133 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.6157, allocations: 27.75 kB / 0.7133 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.6168, allocations: 306 kB / 0.7136 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.6206, allocations: 1.364 MB / 0.715 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.6238, allocations: 1.074 MB / 0.716 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.6265, allocations: 1.868 MB / 0.7178 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006706/0.6271, allocations: 381.6 kB / 0.7182 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.6297, allocations: 1.121 MB / 0.7193 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.6312, allocations: 0.7744 MB / 0.72 GB, free: 404 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.6314, allocations: 60 kB / 0.7201 GB, free: 344 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.6328, allocations: 0.5462 MB / 0.7206 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.6331, allocations: 271.2 kB / 0.7209 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.6335, allocations: 338.6 kB / 0.7212 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.6353, allocations: 1.308 MB / 0.7225 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6354, allocations: 0 / 0.7225 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6354, allocations: 0 / 0.7225 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6354, allocations: 0 / 0.7225 GB, free: 13.88 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.002293/0.6377, allocations: 1.041 MB / 0.7235 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6377, allocations: 8.031 kB / 0.7235 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.6385, allocations: 147.3 kB / 0.7237 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6396, allocations: 473.5 kB / 0.7241 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.6397, allocations: 155.8 kB / 0.7243 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6398, allocations: 51.98 kB / 0.7243 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.6414, allocations: 1.147 MB / 0.7254 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.6415, allocations: 0 / 0.7254 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.6415, allocations: 27.92 kB / 0.7255 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.6416, allocations: 44.91 kB / 0.7255 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6427, allocations: 0.6127 MB / 0.7261 GB, free: 9.953 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.004812/0.6476, allocations: 3.223 MB / 0.7292 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.6482, allocations: 331.6 kB / 0.7296 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.6485, allocations: 169.3 kB / 0.7297 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/0.6486, allocations: 12.28 kB / 0.7297 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.6486, allocations: 38.84 kB / 0.7298 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.6486, allocations: 0 / 0.7298 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005927/0.6546, allocations: 1.601 MB / 0.7313 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.6546, allocations: 140.5 kB / 0.7315 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.6553, allocations: 0.526 MB / 0.732 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.6554, allocations: 29.7 kB / 0.732 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.6557, allocations: 396.1 kB / 0.7324 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.6559, allocations: 150.7 kB / 0.7325 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.6561, allocations: 158.6 kB / 0.7327 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6563, allocations: 366.8 kB / 0.733 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.6567, allocations: 201.9 kB / 0.7332 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.6574, allocations: 0.5878 MB / 0.7338 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6585, allocations: 0.7563 MB / 0.7345 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6586, allocations: 4 kB / 0.7345 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2315/0.8901, allocations: 0.8627 MB / 0.7354 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.8901, allocations: 9.125 kB / 0.7354 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.8901, allocations: 11.59 kB / 0.7354 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.8918, allocations: 315.8 kB / 0.7357 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.8924, allocations: 119.6 kB / 0.7358 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.8936, allocations: 0.929 MB / 0.7367 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.8941, allocations: 27.64 kB / 0.7367 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.8942, allocations: 71.03 kB / 0.7368 GB, free: 177.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.0003504/0.8946, allocations: 243.1 kB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8947, allocations: 61.28 kB / 0.7371 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.8963, allocations: 0.8666 MB / 0.738 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.8963, allocations: 3.969 kB / 0.738 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8963, allocations: 0 / 0.738 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8963, allocations: 2.062 kB / 0.738 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.898, allocations: 1.086 MB / 0.739 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.898, allocations: 3.969 kB / 0.739 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/0.899, allocations: 207.7 kB / 0.7392 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.899, allocations: 27.95 kB / 0.7392 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.8991, allocations: 21.31 kB / 0.7393 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.9003, allocations: 2.632 MB / 0.7418 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9003, allocations: 5.531 kB / 0.7418 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.9013, allocations: 0.8116 MB / 0.7426 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.9015, allocations: 112.4 kB / 0.7427 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.9016, allocations: 9.969 kB / 0.7428 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.902, allocations: 14.34 kB / 0.7428 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.902, allocations: 52.44 kB / 0.7428 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.9021, allocations: 43.59 kB / 0.7429 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003094/0.9024, allocations: 360.6 kB / 0.7432 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9024, allocations: 1.125 kB / 0.7432 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007516/0.9032, allocations: 252.4 kB / 0.7434 GB, free: 172.9 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.0005285/0.9037, allocations: 286.4 kB / 0.7437 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009086/0.9046, allocations: 0.533 MB / 0.7442 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9046, allocations: 4 kB / 0.7442 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.9055, allocations: 408.7 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.9067, allocations: 300.1 kB / 0.7449 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.9083, allocations: 1.338 MB / 0.7462 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.9086, allocations: 340.3 kB / 0.7465 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007543/0.9093, allocations: 450.1 kB / 0.747 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.9096, allocations: 111.4 kB / 0.7471 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.9096, allocations: 0 / 0.7471 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02011/0.9297, allocations: 16.71 MB / 0.7634 GB, free: 153.1 MB / 0.5606 GB " [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: 6.603309992700815]