Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,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.|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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,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.|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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") [: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.0009882/0.000988, allocations: 187.3 kB / 7.802 MB, free: 2.496 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.023/1.023, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008501/0.0008503, allocations: 90.38 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1516/0.1516, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.801e-06, allocations: 4 kB / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3138, allocations: 97.48 MB / 0.5606 GB, free: 1.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.3142, allocations: 99.2 kB / 0.5607 GB, free: 1.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05124/0.3654, allocations: 20.85 MB / 0.5811 GB, free: 12.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3655, allocations: 7.938 kB / 0.5811 GB, free: 12.28 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009471/0.3664, allocations: 0.716 MB / 0.5818 GB, free: 11.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3665, allocations: 8.031 kB / 0.5818 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.3666, allocations: 51.34 kB / 0.5818 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.3669, allocations: 306.2 kB / 0.5821 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.367, allocations: 16 kB / 0.5821 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.367, allocations: 28 kB / 0.5822 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005755/0.3676, allocations: 426 kB / 0.5826 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.3684, allocations: 0.6006 MB / 0.5832 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3684, allocations: 3.938 kB / 0.5832 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3685, allocations: 0 / 0.5832 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.3685, allocations: 24.98 kB / 0.5832 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3705, allocations: 1.362 MB / 0.5845 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.3711, allocations: 295.8 kB / 0.5848 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.3713, allocations: 130.7 kB / 0.5849 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.3714, allocations: 15.89 kB / 0.5849 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3714, allocations: 34.56 kB / 0.585 GB, free: 8.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.3714, allocations: 8 kB / 0.585 GB, free: 8.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007434/0.3722, allocations: 311.6 kB / 0.5853 GB, free: 7.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3722, allocations: 106.8 kB / 0.5854 GB, free: 7.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3725, allocations: 194.9 kB / 0.5856 GB, free: 7.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3725, allocations: 25.7 kB / 0.5856 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3726, allocations: 239.7 kB / 0.5858 GB, free: 7.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.3727, allocations: 78.84 kB / 0.5859 GB, free: 7.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.3727, allocations: 64 / 0.5859 GB, free: 7.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3729, allocations: 338.8 kB / 0.5862 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3731, allocations: 119.9 kB / 0.5863 GB, free: 6.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.3734, allocations: 232.6 kB / 0.5865 GB, free: 6.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3737, allocations: 165.9 kB / 0.5867 GB, free: 6.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3737, allocations: 0 / 0.5867 GB, free: 6.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008079/0.3745, allocations: 397.8 kB / 0.5871 GB, free: 5.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3745, allocations: 4.031 kB / 0.5871 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.3746, allocations: 47.95 kB / 0.5871 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3747, allocations: 4 kB / 0.5871 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.375, allocations: 43.91 kB / 0.5872 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.375, allocations: 11.94 kB / 0.5872 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3753, allocations: 43.72 kB / 0.5872 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.3753, allocations: 16 kB / 0.5872 GB, free: 5.637 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0001302/0.3755, allocations: 130.2 kB / 0.5874 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3756, allocations: 19.72 kB / 0.5874 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/0.3766, allocations: 490.5 kB / 0.5879 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3766, allocations: 4 kB / 0.5879 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3766, allocations: 4 kB / 0.5879 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3766, allocations: 3.984 kB / 0.5879 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3772, allocations: 365.8 kB / 0.5882 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.254e-05/0.3773, allocations: 43.95 kB / 0.5883 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3775, allocations: 31.91 kB / 0.5883 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3775, allocations: 4 kB / 0.5883 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3776, allocations: 8 kB / 0.5883 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3776, allocations: 8 kB / 0.5883 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3776, allocations: 0 / 0.5883 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00069/0.3783, allocations: 0.5871 MB / 0.5889 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.3784, allocations: 96.77 kB / 0.589 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3784, allocations: 8 kB / 0.589 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3788, allocations: 23.97 kB / 0.589 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.3789, allocations: 27.91 kB / 0.589 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3789, allocations: 19.98 kB / 0.589 GB, free: 3.691 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001213/0.3791, allocations: 153.8 kB / 0.5892 GB, free: 3.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008267/0.3799, allocations: 199.2 kB / 0.5894 GB, free: 3.348 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.0005253/0.3804, allocations: 293 kB / 0.5897 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007501/0.3812, allocations: 0.6139 MB / 0.5903 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3812, allocations: 192 / 0.5903 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.3816, allocations: 464.3 kB / 0.5907 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.382, allocations: 28.53 kB / 0.5907 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3837, allocations: 0.636 MB / 0.5914 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.3842, allocations: 0.9167 MB / 0.5923 GB, free: 180 kB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3843, allocations: 4 kB / 0.5923 GB, free: 176 kB / 426.7 MB Notification: Performance of Templates: time 0.009551/0.3938, allocations: 5.901 MB / 0.598 GB, free: 10.27 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches