Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.001198/0.001199, allocations: 183.3 kB / 8.475 MB, free: 0.5391 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 214.1 MB, free: 8.523 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 96.33 kB / 262.1 MB, free: 5.121 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 315 MB, free: 1.977 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09391, allocations: 47.56 MB / 362.6 MB, free: 2.297 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.035/6.129, allocations: 2.739 GB / 3.093 GB, free: 106.3 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/6.129, allocations: 95.53 kB / 3.093 GB, free: 106.3 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.792/6.921, allocations: 293 MB / 3.38 GB, free: 28.2 MB / 418.8 MB Notification: Performance of Transformations before backend: time 2.125e-05/6.921, allocations: 8 kB / 3.38 GB, free: 28.19 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003301/6.924, allocations: 0.9157 MB / 3.38 GB, free: 27.23 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/6.924, allocations: 12.02 kB / 3.38 GB, free: 27.22 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/6.925, allocations: 87.47 kB / 3.381 GB, free: 27.14 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/6.926, allocations: 301.8 kB / 3.381 GB, free: 26.8 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/6.926, allocations: 12 kB / 3.381 GB, free: 26.79 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/6.926, allocations: 20 kB / 3.381 GB, free: 26.77 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003724/6.926, allocations: 233.2 kB / 3.381 GB, free: 26.55 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/6.927, allocations: 354.7 kB / 3.381 GB, free: 26.15 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/6.927, allocations: 0 / 3.381 GB, free: 26.15 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/6.927, allocations: 0 / 3.381 GB, free: 26.15 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/6.927, allocations: 8 kB / 3.381 GB, free: 26.14 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/6.957, allocations: 17.62 MB / 3.399 GB, free: 6.535 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/6.958, allocations: 128 kB / 3.399 GB, free: 6.406 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/6.958, allocations: 84.86 kB / 3.399 GB, free: 6.32 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2335/7.191, allocations: 15.21 MB / 3.414 GB, free: 89.15 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/7.191, allocations: 40.22 kB / 3.414 GB, free: 89.11 MB / 418.8 MB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/7.191, allocations: 0 / 3.414 GB, free: 89.11 MB / 418.8 MB Notification: Performance of matching and sorting (n=28): time 0.002962/7.194, allocations: 0.8664 MB / 3.415 GB, free: 88.84 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/7.194, allocations: 59.08 kB / 3.415 GB, free: 88.78 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/7.195, allocations: 215.9 kB / 3.415 GB, free: 88.68 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/7.195, allocations: 27.45 kB / 3.415 GB, free: 88.65 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/7.195, allocations: 192.6 kB / 3.415 GB, free: 88.52 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/7.195, allocations: 102.7 kB / 3.415 GB, free: 88.47 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/7.195, allocations: 0 / 3.415 GB, free: 88.47 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/7.195, allocations: 333.1 kB / 3.415 GB, free: 88.16 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/7.195, allocations: 98.64 kB / 3.416 GB, free: 88.16 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/7.195, allocations: 205.2 kB / 3.416 GB, free: 88.02 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/7.196, allocations: 140.8 kB / 3.416 GB, free: 88.02 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/7.196, allocations: 3.562 kB / 3.416 GB, free: 88.02 MB / 418.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001022/7.197, allocations: 484.1 kB / 3.416 GB, free: 87.96 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/7.197, allocations: 7.266 kB / 3.416 GB, free: 87.96 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/7.197, allocations: 7.781 kB / 3.416 GB, free: 87.96 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/7.197, allocations: 62.64 kB / 3.416 GB, free: 87.94 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/7.197, allocations: 83.2 kB / 3.416 GB, free: 87.94 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/7.199, allocations: 1.873 MB / 3.418 GB, free: 86.23 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/7.199, allocations: 23.12 kB / 3.418 GB, free: 86.23 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/7.199, allocations: 23.25 kB / 3.418 GB, free: 86.23 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/7.199, allocations: 119.1 kB / 3.418 GB, free: 86.12 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/7.199, allocations: 92.92 kB / 3.419 GB, free: 86.11 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/7.2, allocations: 0.9127 MB / 3.419 GB, free: 86.01 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/7.2, allocations: 10.22 kB / 3.419 GB, free: 86.01 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/7.2, allocations: 0 / 3.419 GB, free: 86.01 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008935/7.201, allocations: 1.096 MB / 3.421 GB, free: 85.53 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/7.203, allocations: 1.475 MB / 3.422 GB, free: 85.16 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/7.203, allocations: 5.984 kB / 3.422 GB, free: 85.16 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/7.203, allocations: 46.95 kB / 3.422 GB, free: 85.16 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/7.203, allocations: 104.8 kB / 3.422 GB, free: 85.14 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/7.203, allocations: 7.688 kB / 3.422 GB, free: 85.14 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004987/7.204, allocations: 0.7084 MB / 3.423 GB, free: 84.62 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/7.204, allocations: 0 / 3.423 GB, free: 84.62 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001237/7.205, allocations: 1.124 MB / 3.424 GB, free: 84.42 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/7.205, allocations: 108.1 kB / 3.424 GB, free: 84.31 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/7.205, allocations: 11.42 kB / 3.424 GB, free: 84.31 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/7.205, allocations: 11.06 kB / 3.424 GB, free: 84.31 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/7.206, allocations: 24.34 kB / 3.424 GB, free: 84.31 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/7.206, allocations: 11.44 kB / 3.424 GB, free: 84.31 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001188/7.206, allocations: 162.3 kB / 3.424 GB, free: 84.23 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.003607/7.209, allocations: 0.5329 MB / 3.425 GB, free: 84.23 MB / 418.8 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: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/7.212, allocations: 0.9547 MB / 3.426 GB, free: 84.13 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0009311/7.213, allocations: 0.5939 MB / 3.426 GB, free: 84.02 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/7.213, allocations: 5.875 kB / 3.426 GB, free: 84.02 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/7.213, allocations: 422.7 kB / 3.427 GB, free: 84.02 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/7.214, allocations: 118.9 kB / 3.427 GB, free: 84.02 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/7.215, allocations: 0.7846 MB / 3.428 GB, free: 83.84 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/7.216, allocations: 0.8495 MB / 3.428 GB, free: 83.14 MB / 418.8 MB Notification: Performance of SimCode: time 2.91e-07/7.216, allocations: 0 / 3.428 GB, free: 83.14 MB / 418.8 MB Notification: Performance of Templates: time 0.02759/7.243, allocations: 20.26 MB / 3.448 GB, free: 82.85 MB / 418.8 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches