Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001612, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001731/0.001731, allocations: 93.53 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2839/0.2839, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.144e-05/1.187e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.379, allocations: 58.84 MB / 476.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.637, allocations: 0.5085 GB / 0.9739 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.637, allocations: 90.77 kB / 0.974 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9598/2.597, allocations: 232.8 MB / 1.201 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.724e-05/2.597, allocations: 24.38 kB / 1.201 GB, free: 58.36 MB / 0.5105 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.003279/2.601, allocations: 1.094 MB / 1.202 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/2.601, allocations: 8.031 kB / 1.202 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/2.602, allocations: 139 kB / 1.203 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/2.604, allocations: 0.5418 MB / 1.203 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/2.604, allocations: 84.39 kB / 1.203 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/2.604, allocations: 31.91 kB / 1.203 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/2.605, allocations: 0.545 MB / 1.204 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/2.607, allocations: 0.7431 MB / 1.204 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/2.607, allocations: 7.984 kB / 1.204 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/2.607, allocations: 0 / 1.204 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/2.607, allocations: 48.91 kB / 1.204 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/2.613, allocations: 4.033 MB / 1.208 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/2.614, allocations: 206.3 kB / 1.209 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/2.614, allocations: 141.2 kB / 1.209 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/2.614, allocations: 28.47 kB / 1.209 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/2.614, allocations: 38.8 kB / 1.209 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/2.614, allocations: 0 / 1.209 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.009216/2.624, allocations: 1.438 MB / 1.21 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/2.624, allocations: 136.5 kB / 1.21 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/2.625, allocations: 458.1 kB / 1.211 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/2.625, allocations: 29.64 kB / 1.211 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/2.625, allocations: 381.2 kB / 1.211 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.625, allocations: 118.3 kB / 1.211 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/2.625, allocations: 0 / 1.211 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/2.625, allocations: 346.8 kB / 1.212 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/2.626, allocations: 177.5 kB / 1.212 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/2.626, allocations: 497.1 kB / 1.212 GB, free: 46.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/2.627, allocations: 340.3 kB / 1.213 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/2.627, allocations: 4 kB / 1.213 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002175/2.629, allocations: 0.7977 MB / 1.213 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/2.63, allocations: 4.969 kB / 1.213 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/2.63, allocations: 12 kB / 1.213 GB, free: 45.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/2.632, allocations: 280.6 kB / 1.214 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/2.632, allocations: 123.8 kB / 1.214 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/2.634, allocations: 0.9541 MB / 1.215 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/2.635, allocations: 35.94 kB / 1.215 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/2.635, allocations: 64 kB / 1.215 GB, free: 43.86 MB / 0.5105 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.0001979/2.635, allocations: 51.16 kB / 1.215 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/2.635, allocations: 75.17 kB / 1.215 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/2.638, allocations: 0.5624 MB / 1.215 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/2.638, allocations: 7.938 kB / 1.215 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/2.638, allocations: 0 / 1.215 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/2.638, allocations: 0 / 1.215 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/2.64, allocations: 0.9955 MB / 1.216 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/2.64, allocations: 0 / 1.216 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/2.642, allocations: 187.8 kB / 1.217 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/2.642, allocations: 28.88 kB / 1.217 GB, free: 41.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/2.642, allocations: 15.89 kB / 1.217 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/2.644, allocations: 2.58 MB / 1.219 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.644, allocations: 0 / 1.219 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001593/2.646, allocations: 0.6973 MB / 1.22 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/2.646, allocations: 176.5 kB / 1.22 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/2.646, allocations: 4 kB / 1.22 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/2.647, allocations: 19.97 kB / 1.22 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/2.647, allocations: 23.97 kB / 1.22 GB, free: 38.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/2.647, allocations: 39.98 kB / 1.22 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00059/2.648, allocations: 342.9 kB / 1.22 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001691/2.65, allocations: 347.8 kB / 1.221 GB, free: 37.39 MB / 0.5105 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.002433/2.652, allocations: 1.186 MB / 1.222 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001628/2.654, allocations: 495.7 kB / 1.222 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/2.654, allocations: 0 / 1.222 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/2.656, allocations: 402.2 kB / 1.223 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/2.658, allocations: 222.2 kB / 1.223 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/2.661, allocations: 0.9237 MB / 1.224 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/2.662, allocations: 1.073 MB / 1.225 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/2.662, allocations: 0 / 1.225 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.03426/2.696, allocations: 19.88 MB / 1.244 GB, free: 13.27 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches