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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [: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.002294/0.002293, allocations: 173 kB / 8.145 MB, free: 2.207 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.658/1.658, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001254/0.001254, allocations: 97.34 kB / 261.8 MB, free: 13.62 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.2585/0.2585, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.705e-06, allocations: 0 / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2773, allocations: 58.84 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4481, allocations: 90.83 MB / 0.5541 GB, free: 8.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.4486, allocations: 99.22 kB / 0.5542 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0476/0.4962, allocations: 9.657 MB / 0.5636 GB, free: 14.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4962, allocations: 0 / 0.5636 GB, free: 14.37 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001018/0.4973, allocations: 0.5021 MB / 0.5641 GB, free: 13.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4973, allocations: 8.031 kB / 0.5641 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.4974, allocations: 35.62 kB / 0.5642 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.4978, allocations: 235.2 kB / 0.5644 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4979, allocations: 8 kB / 0.5644 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.4979, allocations: 20 kB / 0.5644 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008552/0.4988, allocations: 353 kB / 0.5647 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.4996, allocations: 340.6 kB / 0.5651 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4997, allocations: 7.938 kB / 0.5651 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.4997, allocations: 0 / 0.5651 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.4998, allocations: 24.62 kB / 0.5651 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.502, allocations: 0.795 MB / 0.5659 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.503, allocations: 338.1 kB / 0.5662 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.5033, allocations: 108.8 kB / 0.5663 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.5034, allocations: 3.984 kB / 0.5663 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5034, allocations: 34.91 kB / 0.5663 GB, free: 11.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.116e-06/0.5034, allocations: 0 / 0.5663 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000858/0.5043, allocations: 268.9 kB / 0.5666 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5043, allocations: 55.41 kB / 0.5666 GB, free: 11.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.5046, allocations: 151.8 kB / 0.5668 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.5046, allocations: 29.64 kB / 0.5668 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5048, allocations: 234.3 kB / 0.567 GB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.5049, allocations: 59.11 kB / 0.5671 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.5049, allocations: 3.938 kB / 0.5671 GB, free: 10.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.505, allocations: 318.8 kB / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.5053, allocations: 104 kB / 0.5675 GB, free: 10.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.5057, allocations: 156.7 kB / 0.5677 GB, free: 10.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.5061, allocations: 127.8 kB / 0.5678 GB, free: 9.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.5061, allocations: 3.906 kB / 0.5678 GB, free: 9.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000848/0.507, allocations: 297.4 kB / 0.5681 GB, free: 9.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.507, allocations: 8.031 kB / 0.5681 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.507, allocations: 4 kB / 0.5681 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5071, allocations: 3.938 kB / 0.5681 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5083, allocations: 115.9 kB / 0.5682 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.5113, allocations: 3.739 MB / 0.5718 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.5117, allocations: 20.16 kB / 0.5719 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.5117, allocations: 15.98 kB / 0.5719 GB, free: 5.543 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5119, allocations: 41.06 kB / 0.5719 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.512, allocations: 15.81 kB / 0.5719 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.5132, allocations: 390.5 kB / 0.5723 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.5132, allocations: 11.98 kB / 0.5723 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5132, allocations: 0 / 0.5723 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.5132, allocations: 0 / 0.5723 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.5138, allocations: 285.9 kB / 0.5726 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5138, allocations: 4 kB / 0.5726 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.515, allocations: 107.9 kB / 0.5727 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.515, allocations: 0 / 0.5727 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.515, allocations: 7.938 kB / 0.5727 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.5181, allocations: 3.77 MB / 0.5764 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5182, allocations: 0 / 0.5764 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008661/0.5191, allocations: 367 kB / 0.5767 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.5192, allocations: 88.92 kB / 0.5768 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.5193, allocations: 4 kB / 0.5768 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.5196, allocations: 12.08 kB / 0.5768 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.5197, allocations: 19.97 kB / 0.5769 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5197, allocations: 8 kB / 0.5769 GB, free: 220 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001444/0.5199, allocations: 120 kB / 0.577 GB, free: 100 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.5205, allocations: 87.62 kB / 0.5771 GB, free: 12 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004157/0.5209, allocations: 167.1 kB / 0.5772 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.5227, allocations: 339.4 kB / 0.5775 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5228, allocations: 0 / 0.5775 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5241, allocations: 215.7 kB / 0.5777 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5245, allocations: 19.89 kB / 0.5778 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.526, allocations: 432.7 kB / 0.5782 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/0.5266, allocations: 0.8332 MB / 0.579 GB, free: 13.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5266, allocations: 0 / 0.579 GB, free: 13.97 MB / 426.7 MB Notification: Performance of Templates: time 0.01945/0.5461, allocations: 10.15 MB / 0.5889 GB, free: 3.816 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches