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.0009017/0.0009017, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009498/0.0009498, allocations: 164.9 kB / 25.7 MB, free: 8.434 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.8382/0.8382, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.062e-06/1.062e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.456e-06/9.518e-06, allocations: 6.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2486/0.2486, allocations: 145.5 MB / 397 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2498, allocations: 0.6939 MB / 397.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.25, allocations: 13.28 kB / 397.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.2503, allocations: 92.66 kB / 397.8 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.251, allocations: 394.4 kB / 398.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2516, allocations: 359.7 kB / 398.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.2524, allocations: 0.9226 MB / 399.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2526, allocations: 75.31 kB / 399.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2541, allocations: 0.9041 MB / 400.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.2544, allocations: 242.1 kB / 400.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.2544, allocations: 30.5 kB / 400.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2546, allocations: 128.5 kB / 400.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.2547, allocations: 99.72 kB / 401 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2548, allocations: 145.8 kB / 401.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.2552, allocations: 377.5 kB / 401.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2552, allocations: 0 / 401.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2552, allocations: 0 / 401.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2552, allocations: 0 / 401.5 MB, free: 8.719 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.0004928/0.2557, allocations: 0.4926 MB / 402 MB, free: 8.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2557, allocations: 12.27 kB / 402 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2559, allocations: 75.41 kB / 402 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2561, allocations: 203.6 kB / 402.2 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2562, allocations: 19.25 kB / 402.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.2562, allocations: 35.78 kB / 402.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.2564, allocations: 466 kB / 402.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2564, allocations: 9.203 kB / 402.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2565, allocations: 12.25 kB / 402.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2565, allocations: 6.156 kB / 402.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.2566, allocations: 93.52 kB / 402.9 MB, free: 7.691 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.0007558/0.2573, allocations: 1.001 MB / 403.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2575, allocations: 99.92 kB / 404 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.2575, allocations: 52.22 kB / 404 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2575, allocations: 10.2 kB / 404 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2575, allocations: 36.41 kB / 404.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.2575, allocations: 0 / 404.1 MB, free: 6.824 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.002133/0.2597, allocations: 0.9206 MB / 405 MB, free: 6.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.451e-05/0.2597, allocations: 54.38 kB / 405 MB, free: 6.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.2598, allocations: 207.8 kB / 405.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2598, allocations: 35.3 kB / 405.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.2598, allocations: 172.2 kB / 405.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.2599, allocations: 102.6 kB / 405.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.2599, allocations: 71.86 kB / 405.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.26, allocations: 340.4 kB / 405.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.26, allocations: 32.7 kB / 406 MB, free: 5.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.2601, allocations: 135.3 kB / 406.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2602, allocations: 206.7 kB / 406.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2602, allocations: 2.562 kB / 406.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002412/0.2605, allocations: 237.7 kB / 406.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2605, allocations: 8.406 kB / 406.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2605, allocations: 2.219 kB / 406.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.2606, allocations: 45.25 kB / 406.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2608, allocations: 82.16 kB / 406.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.2684, allocations: 2.76 MB / 409.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2685, allocations: 9.078 kB / 409.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.2686, allocations: 32.97 kB / 409.5 MB, free: 2.43 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 9.553e-05/0.2686, allocations: 139.2 kB / 409.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.2687, allocations: 29.12 kB / 409.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.269, allocations: 291.5 kB / 409.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.269, allocations: 3.125 kB / 409.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.269, allocations: 0 / 409.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000137/0.2691, allocations: 448.9 kB / 410.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.2695, allocations: 416 kB / 410.8 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2695, allocations: 0 / 410.8 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2697, allocations: 59.3 kB / 410.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/0.2697, allocations: 24.73 kB / 410.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2697, allocations: 8.781 kB / 410.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/0.27, allocations: 1.158 MB / 412 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.27, allocations: 6.922 kB / 412 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.2702, allocations: 309.3 kB / 412.3 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.2703, allocations: 24.3 kB / 412.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.2703, allocations: 5.469 kB / 412.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2704, allocations: 6.5 kB / 412.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2704, allocations: 23.61 kB / 412.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.2705, allocations: 25.42 kB / 412.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.2705, allocations: 68.56 kB / 412.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2705, allocations: 0 / 412.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.2708, allocations: 120 kB / 412.6 MB, free: 15.93 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.0002399/0.2711, allocations: 139.1 kB / 412.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.2714, allocations: 378.9 kB / 413.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2714, allocations: 3.625 kB / 413.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2715, allocations: 190.9 kB / 413.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2719, allocations: 139.9 kB / 413.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.2728, allocations: 0.5778 MB / 414 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.2729, allocations: 92.98 kB / 414.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.2731, allocations: 90.14 kB / 414.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.2734, allocations: 185.4 kB / 414.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2734, allocations: 0 / 414.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Templates: time 0.0101/0.2835, allocations: 8.867 MB / 423.2 MB, free: 10.22 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 -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: 2.986079662106931]