Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.0008871/0.0008871, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002176, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008994/0.0008994, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002081, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8851/0.8851, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1409/1.026, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.975e-05, allocations: 6.109 kB / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.238/0.238, allocations: 145.9 MB / 367.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2391, allocations: 0.7146 MB / 368.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.2392, allocations: 4 kB / 368.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2395, allocations: 93.98 kB / 368.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.24, allocations: 393.6 kB / 369 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.2406, allocations: 359.2 kB / 369.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.2412, allocations: 0.9308 MB / 370.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2414, allocations: 78.59 kB / 370.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.243, allocations: 0.9159 MB / 371.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.2432, allocations: 239.3 kB / 371.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.2433, allocations: 31.94 kB / 371.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.2435, allocations: 127.8 kB / 371.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.2436, allocations: 75.78 kB / 371.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2437, allocations: 115.8 kB / 371.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.244, allocations: 335.7 kB / 372.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.244, allocations: 4 kB / 372.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.244, allocations: 0 / 372.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.244, allocations: 4 kB / 372.1 MB, free: 8.355 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005919/0.2446, allocations: 0.5665 MB / 372.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.2446, allocations: 8.031 kB / 372.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.2449, allocations: 157.7 kB / 372.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2451, allocations: 205 kB / 373.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2451, allocations: 16.5 kB / 373.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.2451, allocations: 28 kB / 373.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.2454, allocations: 478.2 kB / 373.6 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2454, allocations: 3.984 kB / 373.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2454, allocations: 12 kB / 373.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.2455, allocations: 8 kB / 373.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.2456, allocations: 91.3 kB / 373.7 MB, free: 6.652 MB / 330.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.0008241/0.2464, allocations: 0.9919 MB / 374.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2465, allocations: 107.7 kB / 374.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.2466, allocations: 44.84 kB / 374.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2466, allocations: 11.94 kB / 374.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2466, allocations: 42.55 kB / 374.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.2466, allocations: 0 / 374.9 MB, free: 5.402 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.001942/0.2486, allocations: 0.8919 MB / 375.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2486, allocations: 59.34 kB / 375.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2487, allocations: 200.8 kB / 376 MB, free: 4.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2487, allocations: 33.7 kB / 376.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.2488, allocations: 177.3 kB / 376.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.2488, allocations: 103.1 kB / 376.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.2489, allocations: 69.44 kB / 376.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.249, allocations: 342.8 kB / 376.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.249, allocations: 31.92 kB / 376.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.2491, allocations: 136 kB / 376.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2492, allocations: 202.6 kB / 377.1 MB, free: 2.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2492, allocations: 3.938 kB / 377.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000228/0.2495, allocations: 239.2 kB / 377.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2495, allocations: 8 kB / 377.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2495, allocations: 0 / 377.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.2498, allocations: 37.64 kB / 377.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.2501, allocations: 107.9 kB / 377.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.2512, allocations: 2.425 MB / 379.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.2512, allocations: 12 kB / 379.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2513, allocations: 23.98 kB / 380 MB, free: 15.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/0.2513, allocations: 144.5 kB / 380.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.2514, allocations: 35.94 kB / 380.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.2517, allocations: 263.4 kB / 380.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2517, allocations: 8 kB / 380.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2517, allocations: 0 / 380.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001899/0.2519, allocations: 448.6 kB / 380.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.2522, allocations: 413 kB / 381.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2522, allocations: 3.984 kB / 381.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2524, allocations: 79.88 kB / 381.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.2524, allocations: 19.8 kB / 381.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-05/0.2525, allocations: 24.91 kB / 381.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2525, allocations: 7.984 kB / 381.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004092/0.2529, allocations: 1.154 MB / 382.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2529, allocations: 0 / 382.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.2531, allocations: 309.9 kB / 382.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2532, allocations: 4 kB / 382.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.2533, allocations: 8 kB / 382.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.2533, allocations: 23.89 kB / 382.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2533, allocations: 19.94 kB / 382.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.2533, allocations: 70.78 kB / 382.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2533, allocations: 0 / 382.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.2536, allocations: 119.9 kB / 383.1 MB, free: 12.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 24 * 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): 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.0002005/0.2538, allocations: 124.3 kB / 383.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.2541, allocations: 390.3 kB / 383.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.2541, allocations: 7.984 kB / 383.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2542, allocations: 187.4 kB / 383.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.2546, allocations: 175.4 kB / 383.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.259, allocations: 0.5948 MB / 384.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.259, allocations: 92.62 kB / 384.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.2592, allocations: 86.94 kB / 384.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.2595, allocations: 181.1 kB / 384.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2595, allocations: 0 / 384.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of Templates: time 0.009723/0.2692, allocations: 8.459 MB / 393.3 MB, free: 2.199 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/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: 3.1211018059402704]