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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 179.1 kB / 8.479 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.2 MB / 214.1 MB, free: 5.16 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 93.91 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.528e-06/1.016e-05, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 47.57 MB / 362.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8852/0.9916, allocations: 438 MB / 0.7818 GB, free: 135.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.9921, allocations: 95.94 kB / 0.7819 GB, free: 135.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4387/1.431, allocations: 152.8 MB / 0.9312 GB, free: 103.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/1.431, allocations: 13.25 kB / 0.9312 GB, free: 103.4 MB / 426.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.0009584/1.432, allocations: 0.5923 MB / 0.9318 GB, free: 103.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.432, allocations: 7.781 kB / 0.9318 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/1.432, allocations: 48.94 kB / 0.9318 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/1.433, allocations: 275.1 kB / 0.9321 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.433, allocations: 7.312 kB / 0.9321 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/1.433, allocations: 18.06 kB / 0.9321 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003396/1.433, allocations: 180.3 kB / 0.9323 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/1.433, allocations: 267.5 kB / 0.9325 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.433, allocations: 7.406 kB / 0.9326 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/1.434, allocations: 0 / 0.9326 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/1.434, allocations: 10.88 kB / 0.9326 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/1.435, allocations: 1.555 MB / 0.9341 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/1.435, allocations: 111.9 kB / 0.9342 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/1.435, allocations: 77.5 kB / 0.9343 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/1.435, allocations: 8.375 kB / 0.9343 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.435, allocations: 36.5 kB / 0.9343 GB, free: 101.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/1.435, allocations: 2.344 kB / 0.9343 GB, free: 101.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004103/1.44, allocations: 0.9666 MB / 0.9353 GB, free: 101.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/1.44, allocations: 55.31 kB / 0.9353 GB, free: 101.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/1.44, allocations: 200.5 kB / 0.9355 GB, free: 101 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.44, allocations: 28.88 kB / 0.9355 GB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/1.44, allocations: 173.4 kB / 0.9357 GB, free: 100.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/1.44, allocations: 88.48 kB / 0.9358 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/1.44, allocations: 3.688 kB / 0.9358 GB, free: 100.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/1.44, allocations: 329.9 kB / 0.9361 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/1.44, allocations: 80.89 kB / 0.9362 GB, free: 100.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/1.44, allocations: 178.8 kB / 0.9363 GB, free: 100.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/1.441, allocations: 111.5 kB / 0.9364 GB, free: 100.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.441, allocations: 0 / 0.9364 GB, free: 100.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006721/1.441, allocations: 356.2 kB / 0.9368 GB, free: 100.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.441, allocations: 7.781 kB / 0.9368 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.441, allocations: 0 / 0.9368 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/1.442, allocations: 67.12 kB / 0.9369 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/1.442, allocations: 82.36 kB / 0.9369 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/1.443, allocations: 1.816 MB / 0.9387 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/1.444, allocations: 18.97 kB / 0.9387 GB, free: 98.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.444, allocations: 43.44 kB / 0.9388 GB, free: 98.56 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.444, allocations: 113.1 kB / 0.9389 GB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/1.444, allocations: 22.81 kB / 0.9389 GB, free: 98.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/1.445, allocations: 397 kB / 0.9393 GB, free: 98.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.445, allocations: 3.969 kB / 0.9393 GB, free: 98.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.445, allocations: 2.438 kB / 0.9393 GB, free: 98.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004011/1.445, allocations: 0.5338 MB / 0.9398 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/1.446, allocations: 0.6605 MB / 0.9404 GB, free: 97.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.446, allocations: 3.938 kB / 0.9405 GB, free: 97.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/1.446, allocations: 67.03 kB / 0.9405 GB, free: 97.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.021e-05/1.447, allocations: 24.19 kB / 0.9405 GB, free: 97.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/1.447, allocations: 13.72 kB / 0.9406 GB, free: 97.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006329/1.447, allocations: 1.22 MB / 0.9417 GB, free: 96.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.447, allocations: 5.594 kB / 0.9417 GB, free: 96.43 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000523/1.448, allocations: 468.7 kB / 0.9422 GB, free: 96.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/1.448, allocations: 104.5 kB / 0.9423 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/1.448, allocations: 3.969 kB / 0.9423 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/1.448, allocations: 12.86 kB / 0.9423 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/1.448, allocations: 19.58 kB / 0.9423 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/1.448, allocations: 34.84 kB / 0.9424 GB, free: 96.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000129/1.448, allocations: 161.8 kB / 0.9425 GB, free: 96.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007838/1.449, allocations: 160 kB / 0.9427 GB, free: 96.04 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/1.451, allocations: 0.9141 MB / 0.9436 GB, free: 95.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005985/1.451, allocations: 333.8 kB / 0.9439 GB, free: 95.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.451, allocations: 0 / 0.9439 GB, free: 95.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.451, allocations: 218.4 kB / 0.9441 GB, free: 95.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/1.452, allocations: 115.8 kB / 0.9442 GB, free: 95.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/1.453, allocations: 471.1 kB / 0.9447 GB, free: 95.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/1.454, allocations: 0.8717 MB / 0.9455 GB, free: 94.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.454, allocations: 3.531 kB / 0.9455 GB, free: 94.82 MB / 426.7 MB Notification: Performance of Templates: time 0.01832/1.472, allocations: 12.3 MB / 0.9575 GB, free: 94.48 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches