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.001284/0.001284, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001317/0.001317, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.3325/0.3325, allocations: 34.87 MB / 296.3 MB, free: 0.4922 MB / 266.7 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 1.322e-06/1.322e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.563e-05, allocations: 3.719 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3255/0.3256, allocations: 149.6 MB / 0.516 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.3289, allocations: 2.607 MB / 0.5186 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.3292, allocations: 31.41 kB / 0.5186 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.3298, allocations: 203.6 kB / 0.5188 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.3322, allocations: 1.174 MB / 0.52 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.3337, allocations: 0.8335 MB / 0.5208 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.3351, allocations: 1.902 MB / 0.5226 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000522/0.3356, allocations: 422.3 kB / 0.523 GB, free: 10.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.3371, allocations: 1.234 MB / 0.5242 GB, free: 9.762 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.3377, allocations: 0.5944 MB / 0.5248 GB, free: 9.578 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.3378, allocations: 60.19 kB / 0.5249 GB, free: 9.578 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.3384, allocations: 456.5 kB / 0.5253 GB, free: 9.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3386, allocations: 285.8 kB / 0.5256 GB, free: 9.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3388, allocations: 279.8 kB / 0.5258 GB, free: 9.215 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009319/0.3397, allocations: 0.9945 MB / 0.5268 GB, free: 8.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3397, allocations: 2.484 kB / 0.5268 GB, free: 8.828 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3397, allocations: 0 / 0.5268 GB, free: 8.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3397, allocations: 0 / 0.5268 GB, free: 8.828 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.001347/0.3411, allocations: 1.126 MB / 0.5279 GB, free: 8.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3411, allocations: 8.406 kB / 0.5279 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.3417, allocations: 219.8 kB / 0.5281 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.3422, allocations: 0.4897 MB / 0.5286 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/0.3423, allocations: 158.5 kB / 0.5288 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.3423, allocations: 55.61 kB / 0.5288 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.3431, allocations: 0.975 MB / 0.5298 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3431, allocations: 3.562 kB / 0.5298 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.3431, allocations: 25.39 kB / 0.5298 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.3432, allocations: 42.83 kB / 0.5298 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3436, allocations: 309.4 kB / 0.5301 GB, free: 6.586 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.002066/0.3457, allocations: 3.871 MB / 0.5339 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.3459, allocations: 219.5 kB / 0.5341 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3461, allocations: 86.14 kB / 0.5342 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.3461, allocations: 18.47 kB / 0.5342 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3462, allocations: 43.92 kB / 0.5343 GB, free: 3.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.3462, allocations: 0 / 0.5343 GB, free: 3.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002541/0.3487, allocations: 1.149 MB / 0.5354 GB, free: 2.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3487, allocations: 138.6 kB / 0.5355 GB, free: 2.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.3491, allocations: 0.5592 MB / 0.5361 GB, free: 2.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3491, allocations: 36.36 kB / 0.5361 GB, free: 2.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3493, allocations: 445.2 kB / 0.5365 GB, free: 1.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3494, allocations: 154.8 kB / 0.5367 GB, free: 1.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.3495, allocations: 164 kB / 0.5368 GB, free: 1.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.3496, allocations: 0.5465 MB / 0.5374 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3497, allocations: 91.33 kB / 0.5374 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3501, allocations: 0.6433 MB / 0.5381 GB, free: 192 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.3506, allocations: 0.6991 MB / 0.5388 GB, free: 15.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3506, allocations: 2.969 kB / 0.5388 GB, free: 15.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007667/0.3514, allocations: 0.6681 MB / 0.5394 GB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3514, allocations: 8.719 kB / 0.5394 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3514, allocations: 12.41 kB / 0.5394 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/0.3521, allocations: 258.4 kB / 0.5397 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.3523, allocations: 127.5 kB / 0.5398 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006779/0.353, allocations: 1.007 MB / 0.5408 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3532, allocations: 28.69 kB / 0.5408 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.3532, allocations: 61.34 kB / 0.5409 GB, free: 14.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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.0001741/0.3534, allocations: 209.4 kB / 0.5411 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.3535, allocations: 72.97 kB / 0.5411 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.3543, allocations: 0.6884 MB / 0.5418 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3543, allocations: 5.281 kB / 0.5418 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3543, allocations: 0 / 0.5418 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3543, allocations: 2.531 kB / 0.5418 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.3553, allocations: 0.9313 MB / 0.5427 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3553, allocations: 0 / 0.5427 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.3559, allocations: 197.2 kB / 0.5429 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-05/0.356, allocations: 32.09 kB / 0.5429 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.356, allocations: 12.84 kB / 0.543 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.3577, allocations: 3.567 MB / 0.5464 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3577, allocations: 6.391 kB / 0.5464 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.3584, allocations: 0.6017 MB / 0.547 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3585, allocations: 96.92 kB / 0.5471 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.3586, allocations: 6.938 kB / 0.5471 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3589, allocations: 27.08 kB / 0.5472 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.3589, allocations: 41.98 kB / 0.5472 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.359, allocations: 34.72 kB / 0.5472 GB, free: 9.105 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.3593, allocations: 347.8 kB / 0.5476 GB, free: 8.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3593, allocations: 0 / 0.5476 GB, free: 8.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.36, allocations: 250.6 kB / 0.5478 GB, free: 8.895 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.0004975/0.3605, allocations: 248.8 kB / 0.548 GB, free: 8.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.3612, allocations: 392.2 kB / 0.5484 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3612, allocations: 0 / 0.5484 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.3618, allocations: 398 kB / 0.5488 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3628, allocations: 319 kB / 0.5491 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3647, allocations: 1.152 MB / 0.5502 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3648, allocations: 165 kB / 0.5504 GB, free: 7.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006791/0.3655, allocations: 429.3 kB / 0.5508 GB, free: 7.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.3657, allocations: 94.27 kB / 0.5509 GB, free: 7.102 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3657, allocations: 4 kB / 0.5509 GB, free: 7.098 MB / 426.7 MB Notification: Performance of Templates: time 0.0215/0.3872, allocations: 16.38 MB / 0.5669 GB, free: 7.238 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.0427540759555995]