Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [: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.0009324/0.0009325, allocations: 179.4 kB / 8.517 MB, free: 1.852 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.166/1.166, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0009801/0.0009801, allocations: 92.66 kB / 281.2 MB, free: 5.492 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.1776/0.1776, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.211e-06, allocations: 224 / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.4157, allocations: 94.17 MB / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.416, allocations: 93.95 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0322/0.4482, allocations: 12.29 MB / 0.5982 GB, free: 6.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4483, allocations: 4 kB / 0.5982 GB, free: 6.055 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009323/0.4492, allocations: 0.6542 MB / 0.5988 GB, free: 5.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4492, allocations: 16.02 kB / 0.5988 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.4493, allocations: 43.44 kB / 0.5989 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.4498, allocations: 290.4 kB / 0.5991 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4498, allocations: 15.91 kB / 0.5992 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.4498, allocations: 28 kB / 0.5992 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000606/0.4505, allocations: 405.7 kB / 0.5996 GB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.4512, allocations: 0.5719 MB / 0.6001 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4513, allocations: 4 kB / 0.6001 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.4513, allocations: 0 / 0.6001 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.4513, allocations: 21 kB / 0.6002 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.4533, allocations: 1.381 MB / 0.6015 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.4537, allocations: 275.6 kB / 0.6018 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4539, allocations: 126.4 kB / 0.6019 GB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.454, allocations: 20.05 kB / 0.6019 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.454, allocations: 38.56 kB / 0.6019 GB, free: 1.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.454, allocations: 0 / 0.6019 GB, free: 1.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006409/0.4547, allocations: 303.4 kB / 0.6022 GB, free: 1.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.4547, allocations: 106.8 kB / 0.6023 GB, free: 1.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.455, allocations: 223.8 kB / 0.6025 GB, free: 1.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.455, allocations: 25.7 kB / 0.6026 GB, free: 1.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4552, allocations: 231.6 kB / 0.6028 GB, free: 1.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.4552, allocations: 66.95 kB / 0.6029 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.4553, allocations: 4.062 kB / 0.6029 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4554, allocations: 334.8 kB / 0.6032 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4556, allocations: 136 kB / 0.6033 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.4559, allocations: 251.3 kB / 0.6036 GB, free: 224 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4562, allocations: 171.8 kB / 0.6037 GB, free: 52 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4562, allocations: 0 / 0.6037 GB, free: 52 kB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006887/0.4569, allocations: 420.8 kB / 0.6041 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4569, allocations: 10.19 kB / 0.6041 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.457, allocations: 39.95 kB / 0.6042 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.457, allocations: 4 kB / 0.6042 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4573, allocations: 52.44 kB / 0.6042 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4573, allocations: 4 kB / 0.6042 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.4576, allocations: 51.72 kB / 0.6043 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.4577, allocations: 19.98 kB / 0.6043 GB, free: 15.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0001208/0.4578, allocations: 120.9 kB / 0.6044 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.4579, allocations: 23.72 kB / 0.6044 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.4587, allocations: 478.4 kB / 0.6049 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4588, allocations: 4 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4588, allocations: 0 / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4588, allocations: 4 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.4593, allocations: 349.8 kB / 0.6052 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-05/0.4594, allocations: 39.95 kB / 0.6053 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4596, allocations: 35.97 kB / 0.6053 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4596, allocations: 3.906 kB / 0.6053 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.4596, allocations: 8 kB / 0.6053 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4596, allocations: 4 kB / 0.6053 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4596, allocations: 7.938 kB / 0.6053 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006589/0.4603, allocations: 0.5639 MB / 0.6059 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.4604, allocations: 100.8 kB / 0.606 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.4605, allocations: 4 kB / 0.606 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.4608, allocations: 27.97 kB / 0.606 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.4609, allocations: 23.89 kB / 0.606 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.4609, allocations: 11.98 kB / 0.606 GB, free: 13.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001531/0.4611, allocations: 168.5 kB / 0.6062 GB, free: 13.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007168/0.4618, allocations: 159.5 kB / 0.6063 GB, free: 13.25 MB / 426.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000408/0.4622, allocations: 212.9 kB / 0.6065 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.4629, allocations: 0.6102 MB / 0.6071 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4629, allocations: 0 / 0.6071 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.4633, allocations: 464.5 kB / 0.6076 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4636, allocations: 20.66 kB / 0.6076 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4653, allocations: 0.6248 MB / 0.6082 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.4658, allocations: 0.8994 MB / 0.6091 GB, free: 10.22 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4658, allocations: 0 / 0.6091 GB, free: 10.22 MB / 426.7 MB Notification: Performance of Templates: time 0.009271/0.4751, allocations: 5.173 MB / 0.6141 GB, free: 5.09 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches