Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001661/0.001661, allocations: 176.2 kB / 8.151 MB, free: 2.211 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.712/1.712, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 87.92 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.238e-06, allocations: 0 / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2469, allocations: 47.55 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8497/1.097, allocations: 438.1 MB / 0.7811 GB, free: 41.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.097, allocations: 88.75 kB / 0.7812 GB, free: 41.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6489/1.746, allocations: 152.9 MB / 0.9305 GB, free: 68.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/1.746, allocations: 12 kB / 0.9305 GB, free: 68.7 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.00116/1.747, allocations: 0.5918 MB / 0.9311 GB, free: 68.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.747, allocations: 8.031 kB / 0.9311 GB, free: 68.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/1.748, allocations: 47.61 kB / 0.9311 GB, free: 68.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.748, allocations: 287.6 kB / 0.9314 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.748, allocations: 8 kB / 0.9314 GB, free: 67.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/1.748, allocations: 12 kB / 0.9314 GB, free: 67.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005042/1.749, allocations: 177 kB / 0.9316 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/1.749, allocations: 273.9 kB / 0.9319 GB, free: 67.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/1.749, allocations: 4 kB / 0.9319 GB, free: 67.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/1.75, allocations: 0 / 0.9319 GB, free: 67.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.75, allocations: 15.98 kB / 0.9319 GB, free: 67.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/1.752, allocations: 1.563 MB / 0.9334 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/1.752, allocations: 105.7 kB / 0.9335 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/1.752, allocations: 76.91 kB / 0.9336 GB, free: 65.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/1.753, allocations: 11.94 kB / 0.9336 GB, free: 65.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.753, allocations: 38.56 kB / 0.9336 GB, free: 65.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.196e-06/1.753, allocations: 0 / 0.9336 GB, free: 65.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.007457/1.76, allocations: 0.961 MB / 0.9346 GB, free: 64.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/1.76, allocations: 55.41 kB / 0.9346 GB, free: 64.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/1.76, allocations: 203.8 kB / 0.9348 GB, free: 63.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/1.76, allocations: 29.7 kB / 0.9349 GB, free: 63.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/1.761, allocations: 226.2 kB / 0.9351 GB, free: 63.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/1.761, allocations: 86.75 kB / 0.9351 GB, free: 63.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.761, allocations: 0 / 0.9351 GB, free: 63.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/1.761, allocations: 330.8 kB / 0.9355 GB, free: 63.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.761, allocations: 75.98 kB / 0.9355 GB, free: 63.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/1.761, allocations: 175.7 kB / 0.9357 GB, free: 62.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/1.762, allocations: 116.4 kB / 0.9358 GB, free: 62.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.762, allocations: 4 kB / 0.9358 GB, free: 62.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009526/1.763, allocations: 340.5 kB / 0.9361 GB, free: 62.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.763, allocations: 7.938 kB / 0.9362 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.763, allocations: 8.391 kB / 0.9362 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/1.763, allocations: 65.69 kB / 0.9362 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.764, allocations: 83.84 kB / 0.9363 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/1.765, allocations: 1.816 MB / 0.9381 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/1.765, allocations: 12.19 kB / 0.9381 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/1.766, allocations: 35.98 kB / 0.9381 GB, free: 60.35 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.0001412/1.766, allocations: 47.03 kB / 0.9382 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.766, allocations: 23.72 kB / 0.9382 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.767, allocations: 384.5 kB / 0.9386 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/1.767, allocations: 11.89 kB / 0.9386 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.767, allocations: 3.938 kB / 0.9386 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006092/1.768, allocations: 0.5383 MB / 0.9391 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/1.769, allocations: 0.653 MB / 0.9397 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.769, allocations: 4 kB / 0.9397 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/1.77, allocations: 71.89 kB / 0.9398 GB, free: 58.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/1.77, allocations: 24.78 kB / 0.9398 GB, free: 58.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.77, allocations: 12 kB / 0.9398 GB, free: 58.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/1.771, allocations: 1.221 MB / 0.941 GB, free: 57.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.771, allocations: 4.031 kB / 0.941 GB, free: 57.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009175/1.772, allocations: 470.1 kB / 0.9415 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.772, allocations: 104.8 kB / 0.9416 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/1.772, allocations: 3.984 kB / 0.9416 GB, free: 56.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/1.773, allocations: 12.06 kB / 0.9416 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/1.773, allocations: 23.88 kB / 0.9416 GB, free: 56.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/1.773, allocations: 31.98 kB / 0.9417 GB, free: 56.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001987/1.773, allocations: 156.5 kB / 0.9418 GB, free: 56.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000957/1.774, allocations: 167.9 kB / 0.942 GB, free: 56.09 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.001508/1.776, allocations: 0.9075 MB / 0.9429 GB, free: 55.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000931/1.777, allocations: 341.6 kB / 0.9432 GB, free: 54.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.777, allocations: 4 kB / 0.9432 GB, free: 54.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/1.777, allocations: 214.6 kB / 0.9434 GB, free: 54.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.778, allocations: 116.3 kB / 0.9435 GB, free: 54.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.78, allocations: 0.4929 MB / 0.944 GB, free: 53.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/1.781, allocations: 0.8728 MB / 0.9448 GB, free: 53.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/1.781, allocations: 0 / 0.9448 GB, free: 53.09 MB / 426.7 MB Notification: Performance of Templates: time 0.0218/1.803, allocations: 11.1 MB / 0.9557 GB, free: 41.98 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches