Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [: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 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 170.5 kB / 8.514 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.4 MB / 230.3 MB, free: 7.754 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 92.67 kB / 281.2 MB, free: 5.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1693/0.1693, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.723e-06, allocations: 224 / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 61.92 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.393, allocations: 93.24 MB / 0.5852 GB, free: 3.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.3934, allocations: 98.67 kB / 0.5853 GB, free: 3.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0297/0.4231, allocations: 10.6 MB / 0.5956 GB, free: 8.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.4231, allocations: 4 kB / 0.5956 GB, free: 8.688 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009873/0.4241, allocations: 0.6268 MB / 0.5962 GB, free: 8.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4242, allocations: 8.031 kB / 0.5962 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.4243, allocations: 47.44 kB / 0.5963 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.4247, allocations: 282.3 kB / 0.5966 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.4248, allocations: 15.91 kB / 0.5966 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.4248, allocations: 23.98 kB / 0.5966 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005552/0.4254, allocations: 345.5 kB / 0.5969 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.4262, allocations: 0.5012 MB / 0.5974 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4262, allocations: 0 / 0.5974 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.4263, allocations: 0 / 0.5974 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.4263, allocations: 20.78 kB / 0.5974 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.4283, allocations: 1.252 MB / 0.5987 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.4287, allocations: 247.6 kB / 0.5989 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.4289, allocations: 118.4 kB / 0.599 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.4289, allocations: 15.88 kB / 0.599 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4289, allocations: 42.56 kB / 0.5991 GB, free: 4.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.086e-06/0.4289, allocations: 112 / 0.5991 GB, free: 4.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005835/0.4295, allocations: 269.3 kB / 0.5993 GB, free: 4.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4296, allocations: 106.8 kB / 0.5994 GB, free: 4.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4298, allocations: 180 kB / 0.5996 GB, free: 4.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4299, allocations: 25.7 kB / 0.5996 GB, free: 4.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.43, allocations: 207.6 kB / 0.5998 GB, free: 4.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.4301, allocations: 59.17 kB / 0.5999 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.4301, allocations: 0 / 0.5999 GB, free: 4.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4302, allocations: 334.8 kB / 0.6002 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.4304, allocations: 104.1 kB / 0.6003 GB, free: 3.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.4306, allocations: 149.4 kB / 0.6004 GB, free: 3.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4308, allocations: 119.9 kB / 0.6005 GB, free: 3.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4308, allocations: 0 / 0.6005 GB, free: 3.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005038/0.4313, allocations: 309.1 kB / 0.6008 GB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4313, allocations: 4 kB / 0.6008 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-05/0.4314, allocations: 35.88 kB / 0.6009 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4314, allocations: 0 / 0.6009 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.4317, allocations: 40.12 kB / 0.6009 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4317, allocations: 4 kB / 0.6009 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.4319, allocations: 35.88 kB / 0.601 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.432, allocations: 16 kB / 0.601 GB, free: 2.914 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 prepare postOptimizeDAE: time 8.792e-05/0.4321, allocations: 108.9 kB / 0.6011 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.4322, allocations: 19.72 kB / 0.6011 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.4328, allocations: 393.8 kB / 0.6015 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4329, allocations: 7.984 kB / 0.6015 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4329, allocations: 3.938 kB / 0.6015 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4329, allocations: 0 / 0.6015 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.4334, allocations: 333.9 kB / 0.6018 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-05/0.4334, allocations: 23.98 kB / 0.6018 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.4336, allocations: 39.91 kB / 0.6019 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.331e-05/0.4336, allocations: 4 kB / 0.6019 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.4337, allocations: 11.89 kB / 0.6019 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4337, allocations: 4 kB / 0.6019 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4337, allocations: 3.938 kB / 0.6019 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000559/0.4343, allocations: 0.5311 MB / 0.6024 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.4343, allocations: 96.83 kB / 0.6025 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.4344, allocations: 0 / 0.6025 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4347, allocations: 31.97 kB / 0.6025 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.4348, allocations: 19.92 kB / 0.6025 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.4348, allocations: 15.98 kB / 0.6026 GB, free: 1.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001203/0.4349, allocations: 148.5 kB / 0.6027 GB, free: 1.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.4355, allocations: 135.5 kB / 0.6028 GB, free: 0.918 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000332/0.4358, allocations: 200.9 kB / 0.603 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.4363, allocations: 479 kB / 0.6035 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4364, allocations: 4 kB / 0.6035 GB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.4367, allocations: 359.7 kB / 0.6038 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.437, allocations: 28.42 kB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4383, allocations: 0.5424 MB / 0.6044 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.4388, allocations: 0.8792 MB / 0.6052 GB, free: 14.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4388, allocations: 7.938 kB / 0.6052 GB, free: 14.26 MB / 426.7 MB Notification: Performance of Templates: time 0.007712/0.4465, allocations: 4.211 MB / 0.6094 GB, free: 10.08 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches