Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater") [: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.001756/0.001756, allocations: 174.2 kB / 8.147 MB, free: 2.215 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.738/1.738, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001423/0.001423, allocations: 92.25 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.451e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2482, allocations: 47.56 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8374/1.086, allocations: 366.4 MB / 0.7111 GB, free: 113.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.086, allocations: 96.44 kB / 0.7112 GB, free: 113.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2471/1.333, allocations: 79.95 MB / 0.7893 GB, free: 41.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/1.333, allocations: 4 kB / 0.7893 GB, free: 41.14 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.001176/1.334, allocations: 0.6007 MB / 0.7899 GB, free: 40.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.334, allocations: 8.031 kB / 0.7899 GB, free: 40.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/1.335, allocations: 47.61 kB / 0.7899 GB, free: 40.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/1.335, allocations: 270.5 kB / 0.7902 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.335, allocations: 8 kB / 0.7902 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/1.335, allocations: 16 kB / 0.7902 GB, free: 40.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004956/1.336, allocations: 173 kB / 0.7904 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/1.337, allocations: 253.9 kB / 0.7906 GB, free: 39.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.337, allocations: 3.984 kB / 0.7906 GB, free: 39.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/1.337, allocations: 0 / 0.7906 GB, free: 39.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/1.337, allocations: 8 kB / 0.7906 GB, free: 39.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/1.339, allocations: 1.373 MB / 0.792 GB, free: 38.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/1.339, allocations: 114.1 kB / 0.7921 GB, free: 38.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/1.339, allocations: 81.14 kB / 0.7922 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/1.339, allocations: 288 / 0.7922 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.34, allocations: 42.73 kB / 0.7922 GB, free: 37.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/1.34, allocations: 0 / 0.7922 GB, free: 37.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002811/1.342, allocations: 0.7518 MB / 0.7929 GB, free: 37.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/1.342, allocations: 55.41 kB / 0.793 GB, free: 37.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/1.343, allocations: 199 kB / 0.7932 GB, free: 36.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/1.343, allocations: 25.7 kB / 0.7932 GB, free: 36.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/1.343, allocations: 222.3 kB / 0.7934 GB, free: 36.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/1.343, allocations: 90.66 kB / 0.7935 GB, free: 36.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.343, allocations: 0 / 0.7935 GB, free: 36.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/1.343, allocations: 322.8 kB / 0.7938 GB, free: 36.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.343, allocations: 76 kB / 0.7939 GB, free: 36.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.344, allocations: 171 kB / 0.7941 GB, free: 35.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/1.344, allocations: 100.5 kB / 0.7942 GB, free: 35.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.344, allocations: 7.906 kB / 0.7942 GB, free: 35.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001039/1.345, allocations: 330.9 kB / 0.7945 GB, free: 35.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.345, allocations: 8 kB / 0.7945 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.345, allocations: 0 / 0.7945 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/1.345, allocations: 66.05 kB / 0.7945 GB, free: 35.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/1.346, allocations: 63.91 kB / 0.7946 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/1.349, allocations: 2.556 MB / 0.7971 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/1.349, allocations: 12.03 kB / 0.7971 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.349, allocations: 12 kB / 0.7971 GB, free: 32.51 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002383/1.35, allocations: 50.27 kB / 0.7972 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.35, allocations: 23.72 kB / 0.7972 GB, free: 32.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/1.35, allocations: 29.73 kB / 0.7972 GB, free: 32.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.35, allocations: 7.906 kB / 0.7972 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.35, allocations: 0 / 0.7972 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008723/1.351, allocations: 0.5372 MB / 0.7978 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.352, allocations: 0.636 MB / 0.7984 GB, free: 31.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.352, allocations: 0 / 0.7984 GB, free: 31.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/1.353, allocations: 51.89 kB / 0.7984 GB, free: 31.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/1.353, allocations: 52.83 kB / 0.7985 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.353, allocations: 4 kB / 0.7985 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/1.355, allocations: 1.315 MB / 0.7998 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.355, allocations: 4 kB / 0.7998 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001031/1.356, allocations: 455.1 kB / 0.8002 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.356, allocations: 104.8 kB / 0.8003 GB, free: 28.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/1.356, allocations: 0 / 0.8003 GB, free: 28.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/1.356, allocations: 4 kB / 0.8003 GB, free: 28.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/1.356, allocations: 23.88 kB / 0.8003 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.356, allocations: 4 kB / 0.8003 GB, free: 28.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001958/1.357, allocations: 161.7 kB / 0.8005 GB, free: 28.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006755/1.357, allocations: 99.98 kB / 0.8006 GB, free: 28.67 MB / 426.7 MB 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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/1.358, allocations: 159.4 kB / 0.8007 GB, free: 28.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/1.359, allocations: 428 kB / 0.8011 GB, free: 28.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.359, allocations: 4.062 kB / 0.8011 GB, free: 28.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/1.359, allocations: 205.8 kB / 0.8013 GB, free: 27.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.361, allocations: 116.6 kB / 0.8015 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.362, allocations: 0.4953 MB / 0.8019 GB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.363, allocations: 0.7992 MB / 0.8027 GB, free: 26.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/1.363, allocations: 0 / 0.8027 GB, free: 26.38 MB / 426.7 MB Notification: Performance of Templates: time 0.01144/1.374, allocations: 6.043 MB / 0.8086 GB, free: 20.34 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches