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.001042/0.001042, allocations: 80.92 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001146/0.001146, allocations: 169.8 kB / 25.7 MB, free: 8.418 MB / 18.57 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.9491/0.9491, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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.563e-06/1.563e-06, allocations: 0 / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.916e-05, allocations: 2.312 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2493/0.2494, allocations: 145.5 MB / 397.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2504, allocations: 0.6929 MB / 397.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2506, allocations: 6.312 kB / 397.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.251, allocations: 95.47 kB / 397.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.2516, allocations: 383 kB / 398.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2522, allocations: 371.3 kB / 398.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.2529, allocations: 0.9244 MB / 399.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2531, allocations: 76.47 kB / 399.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.2545, allocations: 0.9118 MB / 400.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2548, allocations: 234.8 kB / 400.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.2548, allocations: 30.44 kB / 400.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.255, allocations: 126.1 kB / 401 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.2551, allocations: 103.9 kB / 401.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2552, allocations: 144.6 kB / 401.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.2556, allocations: 371.3 kB / 401.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2556, allocations: 0 / 401.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2556, allocations: 6.25 kB / 401.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2556, allocations: 0 / 401.6 MB, free: 8.711 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.0004793/0.2561, allocations: 498.6 kB / 402.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2561, allocations: 15.95 kB / 402.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2563, allocations: 82.33 kB / 402.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.2565, allocations: 196.5 kB / 402.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2565, allocations: 18.91 kB / 402.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2566, allocations: 33.09 kB / 402.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.2568, allocations: 475.7 kB / 402.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2568, allocations: 0 / 402.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.2568, allocations: 12.97 kB / 402.9 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2568, allocations: 11.91 kB / 402.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.2569, allocations: 91.27 kB / 403 MB, free: 7.68 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.0007401/0.2577, allocations: 0.9998 MB / 404 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2578, allocations: 101.5 kB / 404.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.2579, allocations: 51.94 kB / 404.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2579, allocations: 6.375 kB / 404.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2579, allocations: 36.03 kB / 404.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.2579, allocations: 3.938 kB / 404.2 MB, free: 6.812 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.00223/0.2601, allocations: 0.9128 MB / 405.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.488e-05/0.2601, allocations: 54.41 kB / 405.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.2602, allocations: 214.3 kB / 405.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2603, allocations: 35.17 kB / 405.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.2603, allocations: 166.8 kB / 405.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.2603, allocations: 105.3 kB / 405.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.2604, allocations: 70.91 kB / 405.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.2604, allocations: 341.2 kB / 406 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.2605, allocations: 31.33 kB / 406.1 MB, free: 5.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.2605, allocations: 139.1 kB / 406.2 MB, free: 5.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2607, allocations: 208.1 kB / 406.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2607, allocations: 0 / 406.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002518/0.2609, allocations: 239.1 kB / 406.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2609, allocations: 5.531 kB / 406.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2609, allocations: 3.406 kB / 406.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.2611, allocations: 50.91 kB / 406.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2613, allocations: 98.67 kB / 406.8 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/0.2696, allocations: 2.771 MB / 409.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2698, allocations: 8.719 kB / 409.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2698, allocations: 23.12 kB / 409.6 MB, free: 2.414 MB / 330.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 0.0001181/0.2699, allocations: 134.5 kB / 409.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.27, allocations: 27.84 kB / 409.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.2703, allocations: 292.7 kB / 410 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2703, allocations: 2.469 kB / 410 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2703, allocations: 0 / 410 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001473/0.2705, allocations: 451.7 kB / 410.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.2709, allocations: 417.1 kB / 410.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2709, allocations: 2.531 kB / 410.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.2711, allocations: 75.81 kB / 411 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-05/0.2712, allocations: 25.19 kB / 411 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2712, allocations: 9.609 kB / 411 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/0.2715, allocations: 1.16 MB / 412.2 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2715, allocations: 0 / 412.2 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2718, allocations: 306.6 kB / 412.5 MB, free: 0 / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.2718, allocations: 22.09 kB / 412.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2718, allocations: 6.312 kB / 412.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2719, allocations: 9.094 kB / 412.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.272, allocations: 19.5 kB / 412.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.272, allocations: 18.27 kB / 412.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.2721, allocations: 74.05 kB / 412.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2721, allocations: 0 / 412.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.2724, allocations: 132.9 kB / 412.7 MB, free: 15.92 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.0002636/0.2726, allocations: 138.1 kB / 412.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.273, allocations: 383.8 kB / 413.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.273, allocations: 3.781 kB / 413.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2731, allocations: 185.6 kB / 413.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.2735, allocations: 139.5 kB / 413.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.2744, allocations: 0.5846 MB / 414.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.2745, allocations: 92.16 kB / 414.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.2747, allocations: 87.2 kB / 414.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.275, allocations: 184.8 kB / 414.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.275, allocations: 0 / 414.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Templates: time 0.009535/0.2845, allocations: 8.921 MB / 423.4 MB, free: 10.18 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 -s gbode -gbm=radauIIA3 -emit_protected -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.179181581828743]