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.001076/0.001076, allocations: 85.08 kB / 23 MB, free: 1.504 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.001669/0.001669, allocations: 173.1 kB / 26.39 MB, free: 8 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.9023/0.9023, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.433e-06/1.433e-06, allocations: 0 / 252.3 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.103e-05, allocations: 2.312 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2576/0.2576, allocations: 143.3 MB / 395.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.2585, allocations: 0.6871 MB / 396.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2586, allocations: 9.594 kB / 396.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.262, allocations: 95.34 kB / 396.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.2626, allocations: 384 kB / 396.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.2631, allocations: 359.8 kB / 397.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.2638, allocations: 0.932 MB / 398.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2639, allocations: 74.16 kB / 398.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.2683, allocations: 0.9061 MB / 399.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.2686, allocations: 248 kB / 399.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.2686, allocations: 30.31 kB / 399.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2688, allocations: 126.7 kB / 399.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.2689, allocations: 104.8 kB / 399.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2691, allocations: 139.5 kB / 399.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.2695, allocations: 375.8 kB / 400.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2695, allocations: 0 / 400.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2695, allocations: 0 / 400.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2695, allocations: 2.281 kB / 400.1 MB, free: 10.19 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.0006045/0.2701, allocations: 0.6264 MB / 400.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2701, allocations: 12.23 kB / 400.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.2704, allocations: 89.16 kB / 400.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.2736, allocations: 230 kB / 401 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2737, allocations: 16.19 kB / 401 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.2737, allocations: 38.89 kB / 401.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.274, allocations: 487.4 kB / 401.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.274, allocations: 2.812 kB / 401.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.274, allocations: 16.95 kB / 401.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.274, allocations: 9.344 kB / 401.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.2742, allocations: 111.8 kB / 401.7 MB, free: 8.965 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.000954/0.2751, allocations: 1.419 MB / 403.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2753, allocations: 119.1 kB / 403.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.2754, allocations: 60.25 kB / 403.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2754, allocations: 5.469 kB / 403.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2754, allocations: 39.42 kB / 403.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.2754, allocations: 0 / 403.3 MB, free: 7.691 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.005819/0.2812, allocations: 0.9524 MB / 404.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.2812, allocations: 56.69 kB / 404.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2814, allocations: 265.3 kB / 404.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2814, allocations: 34.3 kB / 404.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.2815, allocations: 223.4 kB / 404.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.2815, allocations: 110.9 kB / 405 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.2816, allocations: 81.89 kB / 405 MB, free: 6.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.2816, allocations: 0.5053 MB / 405.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.2817, allocations: 38.28 kB / 405.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2818, allocations: 186.8 kB / 405.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.282, allocations: 261.3 kB / 406 MB, free: 5.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.282, allocations: 0 / 406 MB, free: 5.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003652/0.2824, allocations: 308.5 kB / 406.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2824, allocations: 5.281 kB / 406.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2824, allocations: 5.344 kB / 406.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/0.2855, allocations: 56.8 kB / 406.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2858, allocations: 86.3 kB / 406.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006907/0.2864, allocations: 2.529 MB / 409 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2866, allocations: 12.16 kB / 409 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.2866, allocations: 25 kB / 409 MB, free: 2.992 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.2867, allocations: 182.8 kB / 409.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.2868, allocations: 39.83 kB / 409.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.2872, allocations: 332.5 kB / 409.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2872, allocations: 6.031 kB / 409.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2872, allocations: 3.984 kB / 409.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002275/0.2874, allocations: 494.9 kB / 410.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.2879, allocations: 0.5522 MB / 410.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2879, allocations: 0 / 410.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.2881, allocations: 71.52 kB / 410.7 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.528e-05/0.2882, allocations: 26.47 kB / 410.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2882, allocations: 16.3 kB / 410.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/0.2912, allocations: 1.7 MB / 412.4 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2912, allocations: 3.938 kB / 412.4 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.2916, allocations: 419.2 kB / 412.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.2916, allocations: 17.52 kB / 412.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.2916, allocations: 5.438 kB / 412.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2918, allocations: 13.58 kB / 412.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2918, allocations: 22.5 kB / 412.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.2918, allocations: 28.55 kB / 412.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.988e-05/0.2919, allocations: 186.6 kB / 413.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2919, allocations: 0 / 413.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004117/0.2924, allocations: 123 kB / 413.2 MB, free: 15.57 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.000277/0.2926, allocations: 151.3 kB / 413.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.293, allocations: 344.8 kB / 413.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.293, allocations: 0.8125 kB / 413.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2931, allocations: 261.6 kB / 414 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2936, allocations: 143.5 kB / 414.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2946, allocations: 0.6046 MB / 414.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.2947, allocations: 92.95 kB / 414.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.2949, allocations: 97.75 kB / 414.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.2952, allocations: 223 kB / 415.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2952, allocations: 4 kB / 415.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Templates: time 0.009102/0.3043, allocations: 8.695 MB / 423.8 MB, free: 9.84 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: 3.423343835864216]