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.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.001702/0.001702, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.669/1.669, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001305/0.001305, allocations: 90.77 kB / 261.8 MB, free: 13.64 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.2657/0.2657, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.777e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2708, allocations: 58.84 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.4678, allocations: 91.61 MB / 0.5548 GB, free: 7.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004311/0.4683, allocations: 87.94 kB / 0.5549 GB, free: 7.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04306/0.5114, allocations: 6.441 MB / 0.5612 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.5114, allocations: 4 kB / 0.5612 GB, free: 0.918 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009828/0.5124, allocations: 470.2 kB / 0.5617 GB, free: 424 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5125, allocations: 12.03 kB / 0.5617 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5126, allocations: 31.61 kB / 0.5617 GB, free: 380 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.5131, allocations: 218.5 kB / 0.5619 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.5131, allocations: 4 kB / 0.5619 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.5132, allocations: 16 kB / 0.5619 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007886/0.514, allocations: 212.8 kB / 0.5621 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.5147, allocations: 182.4 kB / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5147, allocations: 0 / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.5148, allocations: 0 / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5148, allocations: 11.89 kB / 0.5623 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.5169, allocations: 0.5531 MB / 0.5629 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.5176, allocations: 94.66 kB / 0.563 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5178, allocations: 24.92 kB / 0.563 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.5179, allocations: 0 / 0.563 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.5179, allocations: 50.59 kB / 0.563 GB, free: 14.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.016e-06/0.518, allocations: 0 / 0.563 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005814/0.5186, allocations: 93.48 kB / 0.5631 GB, free: 14.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.5186, allocations: 51.41 kB / 0.5632 GB, free: 14.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.519, allocations: 162.9 kB / 0.5633 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.519, allocations: 25.7 kB / 0.5634 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.5192, allocations: 241.8 kB / 0.5636 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.5193, allocations: 31.56 kB / 0.5636 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.5193, allocations: 0 / 0.5636 GB, free: 14.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5196, allocations: 326.7 kB / 0.5639 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.5198, allocations: 31.94 kB / 0.564 GB, free: 13.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5201, allocations: 128.8 kB / 0.5641 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.5204, allocations: 59.84 kB / 0.5641 GB, free: 13.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.5204, allocations: 4 kB / 0.5641 GB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000824/0.5213, allocations: 177.6 kB / 0.5643 GB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5213, allocations: 6.812 kB / 0.5643 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5214, allocations: 4 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.5214, allocations: 4 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5225, allocations: 79.89 kB / 0.5644 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.5239, allocations: 1.203 MB / 0.5656 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.5244, allocations: 19.89 kB / 0.5656 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.5245, allocations: 12 kB / 0.5656 GB, free: 12.14 MB / 410.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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.5247, allocations: 47.17 kB / 0.5656 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5248, allocations: 15.72 kB / 0.5657 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009323/0.5258, allocations: 154.9 kB / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5258, allocations: 0 / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.5258, allocations: 4 kB / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5259, allocations: 4 kB / 0.5658 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.527, allocations: 400.5 kB / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.527, allocations: 0 / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.5279, allocations: 51.97 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.5279, allocations: 4 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.528, allocations: 4.062 kB / 0.5663 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.5295, allocations: 1.219 MB / 0.5674 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.5296, allocations: 7.969 kB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005898/0.5302, allocations: 240.5 kB / 0.5677 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5304, allocations: 96.84 kB / 0.5678 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.5304, allocations: 192 / 0.5678 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.5309, allocations: 15.98 kB / 0.5678 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.531, allocations: 7.938 kB / 0.5678 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.5311, allocations: 4 kB / 0.5678 GB, free: 9.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002637/0.5313, allocations: 129.5 kB / 0.5679 GB, free: 9.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008675/0.5322, allocations: 75.75 kB / 0.568 GB, free: 9.52 MB / 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006095/0.5329, allocations: 183.1 kB / 0.5682 GB, free: 9.332 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.5341, allocations: 139.8 kB / 0.5683 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5342, allocations: 0 / 0.5683 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.535, allocations: 67.91 kB / 0.5684 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.5354, allocations: 16.78 kB / 0.5684 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5368, allocations: 251.1 kB / 0.5686 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006736/0.5375, allocations: 0.7664 MB / 0.5694 GB, free: 8.031 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5375, allocations: 0 / 0.5694 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Templates: time 0.01091/0.5484, allocations: 4.191 MB / 0.5735 GB, free: 3.84 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches