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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [: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.00241/0.00241, allocations: 172.5 kB / 8.147 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.712/1.712, 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.001802/0.001802, allocations: 88.7 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.2615/0.2615, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.296e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 58.84 MB / 476.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.4804, allocations: 100.3 MB / 0.5633 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/0.4808, allocations: 99.92 kB / 0.5634 GB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.06133/0.5422, allocations: 11.92 MB / 0.5751 GB, free: 2.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.5422, allocations: 4 kB / 0.5751 GB, free: 2.723 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00108/0.5433, allocations: 0.5839 MB / 0.5756 GB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5434, allocations: 8.031 kB / 0.5756 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.5435, allocations: 39.53 kB / 0.5757 GB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.5439, allocations: 242.4 kB / 0.5759 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5439, allocations: 12 kB / 0.5759 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.544, allocations: 20 kB / 0.5759 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005141/0.5445, allocations: 217.5 kB / 0.5761 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.5452, allocations: 290.2 kB / 0.5764 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5452, allocations: 3.938 kB / 0.5764 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.5452, allocations: 0 / 0.5764 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.5453, allocations: 12 kB / 0.5764 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.5472, allocations: 0.789 MB / 0.5772 GB, free: 396 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.5475, allocations: 78.44 kB / 0.5773 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.5476, allocations: 24.92 kB / 0.5773 GB, free: 280 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.5477, allocations: 8 kB / 0.5773 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.5477, allocations: 34.56 kB / 0.5773 GB, free: 228 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.5477, allocations: 4 kB / 0.5773 GB, free: 224 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004642/0.5482, allocations: 117.3 kB / 0.5775 GB, free: 100 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5483, allocations: 51.41 kB / 0.5775 GB, free: 36 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.5486, allocations: 219.3 kB / 0.5777 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5487, allocations: 25.7 kB / 0.5777 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.5489, allocations: 309.4 kB / 0.578 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.5489, allocations: 31.55 kB / 0.5781 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.549, allocations: 0 / 0.5781 GB, free: 15.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5491, allocations: 326.8 kB / 0.5784 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5493, allocations: 36.28 kB / 0.5784 GB, free: 15.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.5496, allocations: 226 kB / 0.5786 GB, free: 14.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.5499, allocations: 87.84 kB / 0.5787 GB, free: 14.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5499, allocations: 0 / 0.5787 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007387/0.5506, allocations: 253.2 kB / 0.579 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5507, allocations: 7.438 kB / 0.579 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.91e-05/0.5508, allocations: 27.98 kB / 0.579 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.5508, allocations: 8 kB / 0.579 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.5512, allocations: 64.56 kB / 0.5791 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.5512, allocations: 15.94 kB / 0.5791 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5515, allocations: 27.73 kB / 0.5791 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.5516, allocations: 20 kB / 0.5791 GB, free: 14.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001004/0.5517, allocations: 52.27 kB / 0.5792 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.5518, allocations: 23.72 kB / 0.5792 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.5526, allocations: 207 kB / 0.5794 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5526, allocations: 3.984 kB / 0.5794 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5527, allocations: 0 / 0.5794 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5527, allocations: 4 kB / 0.5794 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.5532, allocations: 269.8 kB / 0.5797 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-05/0.5532, allocations: 23.92 kB / 0.5797 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5533, allocations: 8 kB / 0.5797 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5534, allocations: 0 / 0.5797 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.5534, allocations: 4 kB / 0.5797 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5534, allocations: 0 / 0.5797 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5534, allocations: 4.172 kB / 0.5797 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003987/0.5538, allocations: 215.2 kB / 0.5799 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.5539, allocations: 108.6 kB / 0.58 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.554, allocations: 0 / 0.58 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.5542, allocations: 15.92 kB / 0.58 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.5543, allocations: 8 kB / 0.58 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.5544, allocations: 8 kB / 0.58 GB, free: 13.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002024/0.5546, allocations: 163.1 kB / 0.5802 GB, free: 13.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008854/0.5555, allocations: 151.5 kB / 0.5803 GB, free: 12.93 MB / 426.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000781/0.5563, allocations: 268.9 kB / 0.5806 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.5571, allocations: 272.3 kB / 0.5808 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5571, allocations: 0 / 0.5808 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.5576, allocations: 166.8 kB / 0.581 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5579, allocations: 12.98 kB / 0.581 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.5593, allocations: 371 kB / 0.5814 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.5598, allocations: 0.8093 MB / 0.5822 GB, free: 10.94 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5598, allocations: 0 / 0.5822 GB, free: 10.94 MB / 426.7 MB Notification: Performance of Templates: time 0.01829/0.5781, allocations: 9.327 MB / 0.5913 GB, free: 1.605 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube/kc_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches