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.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") [: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.001733/0.001733, allocations: 175.3 kB / 8.15 MB, free: 2.191 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.691/1.691, 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.00127/0.001269, allocations: 91.23 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.169e-05/1.169e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.543/6.808, allocations: 3.068 GB / 3.421 GB, free: 92.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/6.809, allocations: 100.8 kB / 3.421 GB, free: 92.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.908/10.72, allocations: 0.974 GB / 4.395 GB, free: 63.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/10.72, allocations: 11 kB / 4.395 GB, free: 63.54 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.005567/10.72, allocations: 1.193 MB / 4.396 GB, free: 63.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/10.72, allocations: 11 kB / 4.396 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/10.72, allocations: 40.73 kB / 4.396 GB, free: 63.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/10.72, allocations: 274.9 kB / 4.396 GB, free: 62.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/10.72, allocations: 9.938 kB / 4.396 GB, free: 62.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/10.72, allocations: 17.75 kB / 4.396 GB, free: 62.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005495/10.72, allocations: 169.3 kB / 4.397 GB, free: 62.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/10.72, allocations: 255.6 kB / 4.397 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/10.72, allocations: 2.344 kB / 4.397 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/10.72, allocations: 7.094 kB / 4.397 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/10.72, allocations: 7.594 kB / 4.397 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/10.73, allocations: 1.383 MB / 4.398 GB, free: 61.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/10.73, allocations: 111.7 kB / 4.398 GB, free: 61.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/10.73, allocations: 82.56 kB / 4.398 GB, free: 61.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/10.73, allocations: 3.125 kB / 4.398 GB, free: 61.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/10.73, allocations: 37.56 kB / 4.398 GB, free: 61.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/10.73, allocations: 0 / 4.398 GB, free: 61.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002817/10.73, allocations: 0.7417 MB / 4.399 GB, free: 61.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/10.73, allocations: 55.22 kB / 4.399 GB, free: 61.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/10.73, allocations: 198.3 kB / 4.399 GB, free: 61.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/10.73, allocations: 29.61 kB / 4.399 GB, free: 61.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/10.73, allocations: 229.9 kB / 4.4 GB, free: 61.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/10.73, allocations: 84.06 kB / 4.4 GB, free: 60.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/10.73, allocations: 0 / 4.4 GB, free: 60.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/10.73, allocations: 329.2 kB / 4.4 GB, free: 60.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/10.73, allocations: 74.89 kB / 4.4 GB, free: 60.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/10.73, allocations: 163.9 kB / 4.4 GB, free: 60.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/10.73, allocations: 103.9 kB / 4.4 GB, free: 60.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/10.73, allocations: 5.156 kB / 4.4 GB, free: 60.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001042/10.73, allocations: 325.4 kB / 4.401 GB, free: 60.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/10.73, allocations: 3.969 kB / 4.401 GB, free: 60.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/10.73, allocations: 7.688 kB / 4.401 GB, free: 60.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/10.73, allocations: 60.52 kB / 4.401 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/10.73, allocations: 68.47 kB / 4.401 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/10.74, allocations: 2.547 MB / 4.403 GB, free: 58.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/10.74, allocations: 20.19 kB / 4.403 GB, free: 58.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/10.74, allocations: 16.09 kB / 4.403 GB, free: 58.1 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.0001797/10.74, allocations: 37.8 kB / 4.403 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/10.74, allocations: 28.47 kB / 4.403 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/10.74, allocations: 31.8 kB / 4.403 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/10.74, allocations: 0 / 4.403 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/10.74, allocations: 5.812 kB / 4.403 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008/10.74, allocations: 0.5416 MB / 4.404 GB, free: 57.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/10.74, allocations: 0.6352 MB / 4.405 GB, free: 57.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/10.74, allocations: 3.188 kB / 4.405 GB, free: 57.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/10.74, allocations: 45.11 kB / 4.405 GB, free: 57.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/10.74, allocations: 53.97 kB / 4.405 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/10.74, allocations: 2.938 kB / 4.405 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/10.74, allocations: 1.309 MB / 4.406 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/10.74, allocations: 3.812 kB / 4.406 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/10.74, allocations: 466.7 kB / 4.406 GB, free: 55.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/10.74, allocations: 100.3 kB / 4.407 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/10.74, allocations: 0 / 4.407 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/10.74, allocations: 18.03 kB / 4.407 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/10.74, allocations: 18.03 kB / 4.407 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/10.74, allocations: 12.34 kB / 4.407 GB, free: 55.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002011/10.74, allocations: 156.1 kB / 4.407 GB, free: 55.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008453/10.75, allocations: 108.5 kB / 4.407 GB, free: 55.73 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.0005076/10.75, allocations: 317.9 kB / 4.407 GB, free: 55.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/10.75, allocations: 422.8 kB / 4.408 GB, free: 55.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/10.75, allocations: 0 / 4.408 GB, free: 55.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/10.75, allocations: 220.3 kB / 4.408 GB, free: 55.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/10.75, allocations: 116 kB / 4.408 GB, free: 55.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/10.75, allocations: 0.5027 MB / 4.408 GB, free: 55.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/10.75, allocations: 0.8022 MB / 4.409 GB, free: 54.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/10.75, allocations: 2.062 kB / 4.409 GB, free: 54.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01351/10.76, allocations: 6.897 MB / 4.416 GB, free: 54.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_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/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches