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.001144/0.001144, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.002118/0.002118, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9463/0.9463, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.373e-06/1.373e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.106e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2686/0.2686, allocations: 167 MB / 418.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.2712, allocations: 3.262 MB / 421.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2714, allocations: 5.531 kB / 421.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.2719, allocations: 162.5 kB / 421.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.2724, allocations: 428.2 kB / 422 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.273, allocations: 355.6 kB / 422.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.2735, allocations: 0.9002 MB / 423.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2736, allocations: 79.55 kB / 423.3 MB, free: 5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.2748, allocations: 0.9265 MB / 424.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.275, allocations: 260.8 kB / 424.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2751, allocations: 31.69 kB / 424.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2752, allocations: 124.6 kB / 424.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2753, allocations: 101.9 kB / 424.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.2754, allocations: 145.2 kB / 424.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.2758, allocations: 375.8 kB / 425.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2758, allocations: 0 / 425.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2758, allocations: 0 / 425.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2758, allocations: 0 / 425.3 MB, free: 4.02 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.0005365/0.2763, allocations: 0.6292 MB / 425.9 MB, free: 3.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2763, allocations: 16.69 kB / 425.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.2766, allocations: 80.5 kB / 426 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2768, allocations: 237.5 kB / 426.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2768, allocations: 19.53 kB / 426.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2769, allocations: 28.38 kB / 426.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.2772, allocations: 0.4954 MB / 426.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2772, allocations: 3.938 kB / 426.8 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.2772, allocations: 13.22 kB / 426.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2772, allocations: 9.812 kB / 426.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.2774, allocations: 137.6 kB / 426.9 MB, free: 2.629 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.0008991/0.2783, allocations: 1.45 MB / 428.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2785, allocations: 127.7 kB / 428.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.2785, allocations: 72.77 kB / 428.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.2786, allocations: 3.406 kB / 428.6 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2786, allocations: 39.33 kB / 428.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.2786, allocations: 0 / 428.6 MB, free: 1.164 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.002557/0.2811, allocations: 1.077 MB / 429.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.2811, allocations: 54.69 kB / 429.8 MB, free: 464 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2813, allocations: 275.4 kB / 430 MB, free: 228 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2813, allocations: 32.73 kB / 430.1 MB, free: 192 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.2814, allocations: 222.1 kB / 430.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.2814, allocations: 105.8 kB / 430.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.2815, allocations: 85.52 kB / 430.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2816, allocations: 0.5015 MB / 431 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.2817, allocations: 50.03 kB / 431 MB, free: 15.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2819, allocations: 194.7 kB / 431.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2821, allocations: 274 kB / 431.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2821, allocations: 0 / 431.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003836/0.2825, allocations: 338.5 kB / 431.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2825, allocations: 5.719 kB / 431.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2825, allocations: 6.625 kB / 431.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.2827, allocations: 59.44 kB / 431.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.2829, allocations: 81.69 kB / 432 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2839, allocations: 2.551 MB / 434.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.284, allocations: 13.2 kB / 434.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2841, allocations: 32.88 kB / 434.6 MB, free: 12.02 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.2842, allocations: 186.3 kB / 434.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.2842, allocations: 35.42 kB / 434.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.2847, allocations: 361.6 kB / 435.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2847, allocations: 2.781 kB / 435.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2847, allocations: 0 / 435.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003013/0.285, allocations: 0.4978 MB / 435.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.2855, allocations: 0.6127 MB / 436.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2855, allocations: 1.125 kB / 436.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.2857, allocations: 64.2 kB / 436.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.2858, allocations: 24.52 kB / 436.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2858, allocations: 13.38 kB / 436.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006407/0.2864, allocations: 1.726 MB / 438.1 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2864, allocations: 0 / 438.1 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.2868, allocations: 434.5 kB / 438.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.2868, allocations: 24.34 kB / 438.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2869, allocations: 7.531 kB / 438.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.287, allocations: 6.375 kB / 438.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.287, allocations: 31.33 kB / 438.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.287, allocations: 21.41 kB / 438.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.2871, allocations: 197.1 kB / 438.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2871, allocations: 0 / 438.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.2875, allocations: 121.4 kB / 438.9 MB, free: 8.23 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.0002736/0.2877, allocations: 156.8 kB / 439 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2881, allocations: 363.7 kB / 439.4 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.2881, allocations: 7 kB / 439.4 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2883, allocations: 254.9 kB / 439.7 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2888, allocations: 162.7 kB / 439.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2898, allocations: 0.5919 MB / 440.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.2899, allocations: 95.84 kB / 440.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.2901, allocations: 95.5 kB / 440.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.2902, allocations: 50.64 kB / 440.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of SimCode: time 1.103e-06/0.2902, allocations: 0 / 440.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of Templates: time 0.009828/0.3, allocations: 7.754 MB / 448.4 MB, free: 15.35 MB / 362.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: 3.1728486390784383]