Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 173.3 kB / 8.147 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 90.69 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2711/0.2711, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.526e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2967, allocations: 58.84 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.477, allocations: 97.49 MB / 0.5606 GB, free: 1.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004938/0.4776, allocations: 95.42 kB / 0.5607 GB, free: 1.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.109/0.5866, allocations: 20.86 MB / 0.581 GB, free: 12.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.5867, allocations: 7.938 kB / 0.5811 GB, free: 12.39 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.001587/0.5883, allocations: 0.7049 MB / 0.5817 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5884, allocations: 8.031 kB / 0.5818 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.5885, allocations: 55.33 kB / 0.5818 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.5891, allocations: 302.3 kB / 0.5821 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.5892, allocations: 16 kB / 0.5821 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.5893, allocations: 31.98 kB / 0.5821 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/0.5904, allocations: 422.1 kB / 0.5825 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5919, allocations: 0.6006 MB / 0.5831 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5919, allocations: 0 / 0.5831 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.592, allocations: 0 / 0.5831 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.592, allocations: 21 kB / 0.5831 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.5955, allocations: 1.374 MB / 0.5845 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.5963, allocations: 283.8 kB / 0.5848 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.5967, allocations: 138.7 kB / 0.5849 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/0.5968, allocations: 15.91 kB / 0.5849 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.5968, allocations: 38.56 kB / 0.5849 GB, free: 8.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.417e-06/0.5968, allocations: 0 / 0.5849 GB, free: 8.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001139/0.598, allocations: 311.6 kB / 0.5852 GB, free: 7.895 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5981, allocations: 106.8 kB / 0.5853 GB, free: 7.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.5984, allocations: 202.9 kB / 0.5855 GB, free: 7.559 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.5985, allocations: 25.7 kB / 0.5856 GB, free: 7.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.5987, allocations: 302 kB / 0.5859 GB, free: 7.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5988, allocations: 78.84 kB / 0.5859 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.5989, allocations: 0 / 0.5859 GB, free: 7.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.599, allocations: 322.8 kB / 0.5862 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.5995, allocations: 123.9 kB / 0.5864 GB, free: 6.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.6, allocations: 228.6 kB / 0.5866 GB, free: 6.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.6005, allocations: 165.9 kB / 0.5867 GB, free: 6.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6005, allocations: 0 / 0.5867 GB, free: 6.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001177/0.6017, allocations: 393.5 kB / 0.5871 GB, free: 5.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6017, allocations: 10.5 kB / 0.5871 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.6019, allocations: 39.95 kB / 0.5872 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.6019, allocations: 8 kB / 0.5872 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.6023, allocations: 48.34 kB / 0.5872 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6024, allocations: 7.938 kB / 0.5872 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.6028, allocations: 39.81 kB / 0.5873 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.6028, allocations: 19.98 kB / 0.5873 GB, free: 5.719 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.0001339/0.603, allocations: 46.98 kB / 0.5873 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.6031, allocations: 23.72 kB / 0.5873 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.6048, allocations: 498.5 kB / 0.5878 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.6048, allocations: 4 kB / 0.5878 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6048, allocations: 0 / 0.5878 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6048, allocations: 3.984 kB / 0.5878 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.6058, allocations: 369.8 kB / 0.5882 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001335/0.6059, allocations: 39.95 kB / 0.5882 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.6062, allocations: 39.91 kB / 0.5882 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6063, allocations: 0 / 0.5882 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.6063, allocations: 8 kB / 0.5883 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6063, allocations: 4 kB / 0.5883 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6063, allocations: 0 / 0.5883 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001148/0.6075, allocations: 0.5871 MB / 0.5888 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6076, allocations: 100.8 kB / 0.5889 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.6077, allocations: 0 / 0.5889 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.6082, allocations: 27.97 kB / 0.589 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6084, allocations: 15.98 kB / 0.589 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.6084, allocations: 19.98 kB / 0.589 GB, free: 3.859 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002264/0.6087, allocations: 149.9 kB / 0.5891 GB, free: 3.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001079/0.6098, allocations: 203.2 kB / 0.5893 GB, free: 3.516 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.0007698/0.6106, allocations: 308.8 kB / 0.5896 GB, free: 3.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.6118, allocations: 0.6017 MB / 0.5902 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6118, allocations: 4 kB / 0.5902 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.6125, allocations: 464.3 kB / 0.5907 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.6131, allocations: 25.59 kB / 0.5907 GB, free: 1.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.6156, allocations: 0.6688 MB / 0.5913 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.6165, allocations: 0.9088 MB / 0.5922 GB, free: 336 kB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6165, allocations: 0 / 0.5922 GB, free: 336 kB / 426.7 MB Notification: Performance of Templates: time 0.01793/0.6344, allocations: 7.437 MB / 0.5995 GB, free: 8.891 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches