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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [: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.001687/0.001686, allocations: 173.8 kB / 8.147 MB, free: 2.133 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.81/1.81, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001231/0.00123, allocations: 89.47 kB / 261.8 MB, free: 13.63 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.2795/0.2795, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.679e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 58.84 MB / 476.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.4472, allocations: 93.24 MB / 0.5564 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.4476, allocations: 99.42 kB / 0.5565 GB, free: 5.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06129/0.5089, allocations: 13.37 MB / 0.5696 GB, free: 8.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.509, allocations: 7.938 kB / 0.5696 GB, free: 8.227 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001667/0.5107, allocations: 0.6307 MB / 0.5702 GB, free: 7.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5108, allocations: 8.031 kB / 0.5702 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.511, allocations: 39.53 kB / 0.5703 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.5116, allocations: 291.3 kB / 0.5705 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.5117, allocations: 12 kB / 0.5705 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5118, allocations: 20 kB / 0.5706 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001298/0.5131, allocations: 337.5 kB / 0.5709 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.5149, allocations: 495.5 kB / 0.5714 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5149, allocations: 0 / 0.5714 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.515, allocations: 0 / 0.5714 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/0.5151, allocations: 24.75 kB / 0.5714 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.5192, allocations: 1.166 MB / 0.5725 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.5203, allocations: 271.6 kB / 0.5728 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.5208, allocations: 132.6 kB / 0.5729 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-05/0.5209, allocations: 15.98 kB / 0.5729 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5209, allocations: 34.56 kB / 0.573 GB, free: 4.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 6.332e-06/0.521, allocations: 112 / 0.573 GB, free: 4.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001393/0.5224, allocations: 309.2 kB / 0.5732 GB, free: 4.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.5225, allocations: 102.8 kB / 0.5733 GB, free: 4.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.5229, allocations: 208 kB / 0.5735 GB, free: 3.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.523, allocations: 33.7 kB / 0.5736 GB, free: 3.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.5232, allocations: 262.2 kB / 0.5738 GB, free: 3.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5233, allocations: 55.11 kB / 0.5739 GB, free: 3.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.5233, allocations: 0 / 0.5739 GB, free: 3.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5235, allocations: 322.8 kB / 0.5742 GB, free: 3.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.524, allocations: 124.1 kB / 0.5743 GB, free: 3.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.5245, allocations: 200.1 kB / 0.5745 GB, free: 2.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.5251, allocations: 147.8 kB / 0.5746 GB, free: 2.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5251, allocations: 0 / 0.5746 GB, free: 2.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001449/0.5266, allocations: 350 kB / 0.575 GB, free: 2.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5266, allocations: 7.281 kB / 0.575 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/0.5268, allocations: 32.31 kB / 0.575 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.5269, allocations: 11.91 kB / 0.575 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.5274, allocations: 39.91 kB / 0.5751 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.5274, allocations: 7.984 kB / 0.5751 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.5279, allocations: 35.92 kB / 0.5751 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.528, allocations: 15.98 kB / 0.5751 GB, free: 2.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * 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 0.0001639/0.5282, allocations: 49.55 kB / 0.5752 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.5284, allocations: 23.72 kB / 0.5752 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.5304, allocations: 459.8 kB / 0.5756 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5305, allocations: 0 / 0.5756 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5305, allocations: 4 kB / 0.5756 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.5305, allocations: 3.984 kB / 0.5756 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5317, allocations: 341.9 kB / 0.576 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001595/0.5319, allocations: 27.98 kB / 0.576 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.5324, allocations: 31.97 kB / 0.576 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/0.5324, allocations: 7.906 kB / 0.576 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.5325, allocations: 7.984 kB / 0.576 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5325, allocations: 4 kB / 0.576 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5326, allocations: 0 / 0.576 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001427/0.534, allocations: 0.5638 MB / 0.5766 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5341, allocations: 96.91 kB / 0.5767 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5343, allocations: 3.906 kB / 0.5767 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.535, allocations: 31.97 kB / 0.5767 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5351, allocations: 19.97 kB / 0.5767 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.5352, allocations: 11.94 kB / 0.5767 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002834/0.5355, allocations: 160.5 kB / 0.5769 GB, free: 364 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001282/0.5368, allocations: 147.5 kB / 0.577 GB, free: 216 kB / 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.0007546/0.5376, allocations: 217 kB / 0.5772 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.539, allocations: 0.5075 MB / 0.5777 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.539, allocations: 4.062 kB / 0.5777 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.5398, allocations: 383.3 kB / 0.5781 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.5405, allocations: 27.62 kB / 0.5781 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.5431, allocations: 0.555 MB / 0.5787 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/0.544, allocations: 0.8797 MB / 0.5795 GB, free: 13.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.544, allocations: 4 kB / 0.5795 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Templates: time 0.0189/0.5629, allocations: 6.123 MB / 0.5855 GB, free: 7.348 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches