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.0008021/0.0008021, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001144/0.001144, allocations: 160.5 kB / 25.45 MB, free: 9.348 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.8879/0.8879, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.553e-06/1.553e-06, allocations: 0 / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.509e-05, allocations: 2.281 kB / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2881/0.2881, allocations: 150.1 MB / 449.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.2907, allocations: 2.935 MB / 452.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.2909, allocations: 7.938 kB / 452.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.2914, allocations: 170.8 kB / 453 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.292, allocations: 421.4 kB / 453.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.2926, allocations: 365.5 kB / 453.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005957/0.2932, allocations: 0.8949 MB / 454.7 MB, free: 448 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2933, allocations: 72.84 kB / 454.7 MB, free: 376 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.2946, allocations: 0.9421 MB / 455.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.2948, allocations: 251.2 kB / 455.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.2949, allocations: 32 kB / 456 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.2951, allocations: 119.8 kB / 456.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.2952, allocations: 107.6 kB / 456.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2953, allocations: 135.8 kB / 456.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.2958, allocations: 0.5376 MB / 456.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2958, allocations: 4 kB / 456.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2958, allocations: 0 / 456.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2958, allocations: 0 / 456.9 MB, free: 14.25 MB / 394.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.0006837/0.2965, allocations: 0.525 MB / 457.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2965, allocations: 13.95 kB / 457.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.2967, allocations: 43.8 kB / 457.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.2971, allocations: 233.2 kB / 457.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2971, allocations: 16.5 kB / 457.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.2972, allocations: 31.94 kB / 457.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.2976, allocations: 0.5374 MB / 458.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2976, allocations: 0 / 458.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2976, allocations: 12 kB / 458.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2976, allocations: 4 kB / 458.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.2979, allocations: 209.7 kB / 458.5 MB, free: 12.5 MB / 394.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.001097/0.299, allocations: 1.146 MB / 459.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2992, allocations: 166.8 kB / 459.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.2993, allocations: 88.83 kB / 459.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2993, allocations: 4 kB / 459.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2993, allocations: 34.94 kB / 459.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.2993, allocations: 0 / 459.9 MB, free: 10.99 MB / 394.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.003146/0.3025, allocations: 1.318 MB / 461.2 MB, free: 9.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3025, allocations: 59.34 kB / 461.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3027, allocations: 236 kB / 461.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3027, allocations: 29.7 kB / 461.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3028, allocations: 184.4 kB / 461.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3028, allocations: 103.1 kB / 461.8 MB, free: 8.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.3029, allocations: 77.69 kB / 461.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.303, allocations: 334.8 kB / 462.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3031, allocations: 87.95 kB / 462.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3033, allocations: 191.8 kB / 462.5 MB, free: 8.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3035, allocations: 299.8 kB / 462.8 MB, free: 7.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3035, allocations: 4 kB / 462.8 MB, free: 7.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004126/0.304, allocations: 398.8 kB / 463.2 MB, free: 7.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.304, allocations: 8.406 kB / 463.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.304, allocations: 4 kB / 463.2 MB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.3041, allocations: 77.67 kB / 463.3 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3043, allocations: 83.83 kB / 463.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009187/0.3052, allocations: 1.825 MB / 465.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.3053, allocations: 12.25 kB / 465.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.3054, allocations: 44.86 kB / 465.2 MB, free: 5.324 MB / 394.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.0001136/0.3055, allocations: 153.7 kB / 465.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3055, allocations: 23.86 kB / 465.4 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.306, allocations: 453.4 kB / 465.8 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.306, allocations: 4 kB / 465.8 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.306, allocations: 0 / 465.8 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003287/0.3064, allocations: 0.5635 MB / 466.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/0.3072, allocations: 0.6257 MB / 467 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3072, allocations: 8.062 kB / 467 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3074, allocations: 63.95 kB / 467.1 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.032e-05/0.3074, allocations: 24.78 kB / 467.1 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3074, allocations: 15.98 kB / 467.1 MB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005112/0.308, allocations: 1.244 MB / 468.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.308, allocations: 8.094 kB / 468.4 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.3084, allocations: 478.5 kB / 468.9 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3084, allocations: 23.84 kB / 468.9 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3084, allocations: 8 kB / 468.9 MB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3085, allocations: 11.98 kB / 468.9 MB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3086, allocations: 23.91 kB / 468.9 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3086, allocations: 31.98 kB / 469 MB, free: 1.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3087, allocations: 173.2 kB / 469.1 MB, free: 1.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3087, allocations: 0 / 469.1 MB, free: 1.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.309, allocations: 119.9 kB / 469.3 MB, free: 1.012 MB / 394.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 (26): * Single equations (assignments): 25 * 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.0002774/0.3093, allocations: 152.7 kB / 469.4 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.3097, allocations: 374.7 kB / 469.8 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3097, allocations: 0 / 469.8 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3099, allocations: 226.5 kB / 470 MB, free: 244 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.3103, allocations: 132.8 kB / 470.1 MB, free: 112 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.3111, allocations: 0.6505 MB / 470.8 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.3112, allocations: 159.8 kB / 470.9 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3113, allocations: 72.47 kB / 471 MB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3113, allocations: 0 / 471 MB, free: 15.18 MB / 410.7 MB Notification: Performance of Templates: time 0.006699/0.318, allocations: 7.39 MB / 478.4 MB, free: 7.785 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1089193588122725]