Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [: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.00258/0.00258, allocations: 179.8 kB / 8.477 MB, free: 1.879 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.461/1.461, allocations: 205.2 MB / 214.1 MB, free: 5.512 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.0009704/0.0009704, allocations: 94.7 kB / 262.1 MB, free: 5.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.608e-06, allocations: 4 kB / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 47.57 MB / 362.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.7817, allocations: 264.3 MB / 0.6121 GB, free: 142.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.782, allocations: 95.94 kB / 0.6122 GB, free: 142.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.141/0.923, allocations: 82.83 MB / 0.6931 GB, free: 58.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.923, allocations: 4 kB / 0.6931 GB, free: 58.95 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.0006172/0.9237, allocations: 0.5197 MB / 0.6936 GB, free: 58.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9237, allocations: 8.031 kB / 0.6936 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.924, allocations: 47.61 kB / 0.6937 GB, free: 58.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.9244, allocations: 274.5 kB / 0.6939 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.9244, allocations: 8 kB / 0.694 GB, free: 58.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.9245, allocations: 23.98 kB / 0.694 GB, free: 57.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000287/0.9247, allocations: 160.9 kB / 0.6941 GB, free: 57.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.9251, allocations: 263.6 kB / 0.6944 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9251, allocations: 0 / 0.6944 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.9252, allocations: 4 kB / 0.6944 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.9252, allocations: 8 kB / 0.6944 GB, free: 57.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.9268, allocations: 1.665 MB / 0.696 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.9269, allocations: 89.64 kB / 0.6961 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.9271, allocations: 56.92 kB / 0.6962 GB, free: 55.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.9272, allocations: 166.2 kB / 0.6963 GB, free: 55.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.9272, allocations: 38.56 kB / 0.6964 GB, free: 55.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.9272, allocations: 0 / 0.6964 GB, free: 55.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001431/0.9287, allocations: 0.5925 MB / 0.6969 GB, free: 54.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.9287, allocations: 55.59 kB / 0.697 GB, free: 54.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.9289, allocations: 208.1 kB / 0.6972 GB, free: 54.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.929, allocations: 25.7 kB / 0.6972 GB, free: 54.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.929, allocations: 195.5 kB / 0.6974 GB, free: 54.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.9291, allocations: 63.02 kB / 0.6975 GB, free: 54.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.9291, allocations: 0 / 0.6975 GB, free: 54.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.9292, allocations: 338.8 kB / 0.6978 GB, free: 53.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.9293, allocations: 59.94 kB / 0.6978 GB, free: 53.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.9294, allocations: 176.9 kB / 0.698 GB, free: 53.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.9296, allocations: 101.1 kB / 0.6981 GB, free: 53.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9296, allocations: 7.938 kB / 0.6981 GB, free: 53.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004399/0.9301, allocations: 282 kB / 0.6984 GB, free: 53.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9301, allocations: 8 kB / 0.6984 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9301, allocations: 4 kB / 0.6984 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.9302, allocations: 25.36 kB / 0.6984 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.9306, allocations: 87.89 kB / 0.6985 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/0.9313, allocations: 1.24 MB / 0.6997 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.9315, allocations: 8 kB / 0.6997 GB, free: 51.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.9315, allocations: 20 kB / 0.6997 GB, free: 51.59 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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.9317, allocations: 120.8 kB / 0.6999 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.9317, allocations: 27.69 kB / 0.6999 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.9321, allocations: 192.5 kB / 0.7001 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.9321, allocations: 4 kB / 0.7001 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.9321, allocations: 0 / 0.7001 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002618/0.9324, allocations: 467.7 kB / 0.7005 GB, free: 50.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/0.9332, allocations: 0.7063 MB / 0.7012 GB, free: 49.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.9333, allocations: 4 kB / 0.7012 GB, free: 49.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.9334, allocations: 52.16 kB / 0.7013 GB, free: 49.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9335, allocations: 8 kB / 0.7013 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9335, allocations: 0 / 0.7013 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.9335, allocations: 7.938 kB / 0.7013 GB, free: 49.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9335, allocations: 4 kB / 0.7013 GB, free: 49.83 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003794/0.9339, allocations: 486.9 kB / 0.7017 GB, free: 49.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.9339, allocations: 104.8 kB / 0.7018 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.934, allocations: 4 kB / 0.7018 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.9342, allocations: 16.05 kB / 0.7019 GB, free: 49.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.9343, allocations: 15.89 kB / 0.7019 GB, free: 49.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.9343, allocations: 15.98 kB / 0.7019 GB, free: 49.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001104/0.9344, allocations: 160.5 kB / 0.702 GB, free: 48.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.9349, allocations: 103.9 kB / 0.7021 GB, free: 48.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003269/0.9352, allocations: 241.4 kB / 0.7024 GB, free: 48.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.9356, allocations: 269.5 kB / 0.7026 GB, free: 48.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9356, allocations: 0 / 0.7026 GB, free: 48.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.9357, allocations: 69.3 kB / 0.7027 GB, free: 48.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.9363, allocations: 108.4 kB / 0.7028 GB, free: 48.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.937, allocations: 429.5 kB / 0.7032 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.9373, allocations: 0.8024 MB / 0.704 GB, free: 46.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.9373, allocations: 0 / 0.704 GB, free: 46.83 MB / 426.7 MB Notification: Performance of Templates: time 0.008665/0.946, allocations: 5.162 MB / 0.709 GB, free: 41.67 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_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/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches