Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.0009453/0.0009454, allocations: 185.8 kB / 7.8 MB, free: 2.496 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.084/1.084, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008729/0.0008728, allocations: 96.02 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1615/0.1615, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.741e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6698/0.8841, allocations: 0.5085 GB / 0.9739 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.8843, allocations: 98.8 kB / 0.974 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5427/1.427, allocations: 232.8 MB / 1.201 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.845e-05/1.427, allocations: 19.98 kB / 1.201 GB, free: 15.22 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002393/1.43, allocations: 1.099 MB / 1.202 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/1.43, allocations: 8.031 kB / 1.202 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000906/1.431, allocations: 139 kB / 1.203 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/1.431, allocations: 0.5561 MB / 1.203 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/1.432, allocations: 84.39 kB / 1.203 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/1.432, allocations: 28 kB / 1.203 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007517/1.432, allocations: 0.5333 MB / 1.204 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/1.433, allocations: 0.7468 MB / 1.204 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.433, allocations: 0 / 1.204 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/1.433, allocations: 7.984 kB / 1.204 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.433, allocations: 36.98 kB / 1.204 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/1.437, allocations: 4.042 MB / 1.208 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/1.437, allocations: 202.5 kB / 1.209 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/1.437, allocations: 129.3 kB / 1.209 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/1.437, allocations: 28.86 kB / 1.209 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/1.437, allocations: 42.73 kB / 1.209 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/1.437, allocations: 0 / 1.209 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.004677/1.442, allocations: 1.434 MB / 1.21 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.442, allocations: 136.5 kB / 1.21 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/1.443, allocations: 466 kB / 1.211 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/1.443, allocations: 25.7 kB / 1.211 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.443, allocations: 338.9 kB / 1.211 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/1.443, allocations: 118.3 kB / 1.211 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/1.443, allocations: 0 / 1.211 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/1.443, allocations: 370.8 kB / 1.212 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/1.443, allocations: 181.5 kB / 1.212 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/1.444, allocations: 497.1 kB / 1.212 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/1.444, allocations: 327.6 kB / 1.213 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.444, allocations: 7.938 kB / 1.213 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001235/1.445, allocations: 0.8366 MB / 1.213 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.445, allocations: 8 kB / 1.213 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.445, allocations: 15.92 kB / 1.213 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.446, allocations: 284.5 kB / 1.214 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/1.447, allocations: 123.8 kB / 1.214 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/1.448, allocations: 0.9702 MB / 1.215 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/1.448, allocations: 35.89 kB / 1.215 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/1.448, allocations: 67.98 kB / 1.215 GB, free: 0.6211 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.449, allocations: 126.4 kB / 1.215 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/1.449, allocations: 59.25 kB / 1.215 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.126/1.575, allocations: 0.5636 MB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.575, allocations: 3.156 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.575, allocations: 2.969 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.575, allocations: 3.703 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/1.576, allocations: 0.9884 MB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.576, allocations: 3.609 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/1.577, allocations: 188.5 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.743e-05/1.577, allocations: 21.69 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/1.577, allocations: 9.609 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/1.578, allocations: 2.59 MB / 1.219 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.578, allocations: 3.188 kB / 1.219 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007397/1.579, allocations: 0.6912 MB / 1.22 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/1.579, allocations: 181.6 kB / 1.22 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/1.58, allocations: 3.75 kB / 1.22 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/1.58, allocations: 19.41 kB / 1.22 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/1.58, allocations: 30.41 kB / 1.22 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/1.58, allocations: 34.78 kB / 1.22 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002876/1.58, allocations: 342.7 kB / 1.221 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00104/1.581, allocations: 345.2 kB / 1.221 GB, free: 140.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001398/1.583, allocations: 1.186 MB / 1.222 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007366/1.584, allocations: 494.4 kB / 1.223 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.584, allocations: 3.5 kB / 1.223 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/1.584, allocations: 400 kB / 1.223 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/1.585, allocations: 228.6 kB / 1.223 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/1.587, allocations: 0.8805 MB / 1.224 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/1.588, allocations: 1.068 MB / 1.225 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/1.588, allocations: 3.25 kB / 1.225 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.024/1.612, allocations: 19.56 MB / 1.244 GB, free: 139 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches