Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 179.1 kB / 8.52 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.4 MB / 230.3 MB, free: 7.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 88.73 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1643/0.1643, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 224 / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.452, allocations: 99.06 MB / 0.5908 GB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4523, allocations: 87.94 kB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.03375/0.4861, allocations: 11.15 MB / 0.6018 GB, free: 2.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4861, allocations: 4 kB / 0.6018 GB, free: 2.461 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.0007078/0.4869, allocations: 0.5684 MB / 0.6024 GB, free: 1.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4869, allocations: 11.97 kB / 0.6024 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.487, allocations: 39.53 kB / 0.6024 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.4873, allocations: 250.2 kB / 0.6027 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4873, allocations: 8 kB / 0.6027 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4874, allocations: 24 kB / 0.6027 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003396/0.4877, allocations: 225.5 kB / 0.6029 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.4882, allocations: 0.498 MB / 0.6034 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4882, allocations: 7.938 kB / 0.6034 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.4883, allocations: 4 kB / 0.6034 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4883, allocations: 12 kB / 0.6034 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.4907, allocations: 3.945 MB / 0.6073 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.491, allocations: 82.48 kB / 0.6073 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.491, allocations: 20.98 kB / 0.6074 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4911, allocations: 8.141 kB / 0.6074 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4911, allocations: 38.47 kB / 0.6074 GB, free: 12.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.4911, allocations: 3.938 kB / 0.6074 GB, free: 12.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002683/0.4914, allocations: 97.39 kB / 0.6075 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4914, allocations: 51.41 kB / 0.6076 GB, free: 12.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.4917, allocations: 231.3 kB / 0.6078 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4917, allocations: 29.7 kB / 0.6078 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4919, allocations: 242.6 kB / 0.608 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.4919, allocations: 31.64 kB / 0.6081 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.4919, allocations: 0 / 0.6081 GB, free: 11.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4921, allocations: 334.8 kB / 0.6084 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.4921, allocations: 40.64 kB / 0.6084 GB, free: 11.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.4924, allocations: 238.2 kB / 0.6087 GB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.4925, allocations: 83.89 kB / 0.6087 GB, free: 10.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4925, allocations: 4 kB / 0.6087 GB, free: 10.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004175/0.4929, allocations: 249.1 kB / 0.609 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.493, allocations: 4.781 kB / 0.609 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.493, allocations: 8 kB / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.493, allocations: 12 kB / 0.609 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.4935, allocations: 116.5 kB / 0.6091 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007814/0.4942, allocations: 1.223 MB / 0.6103 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.4945, allocations: 43.64 kB / 0.6103 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4945, allocations: 24 kB / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001014/0.4947, allocations: 123.5 kB / 0.6105 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.4947, allocations: 27.62 kB / 0.6105 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.4951, allocations: 159.2 kB / 0.6107 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4951, allocations: 0 / 0.6107 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4951, allocations: 3.938 kB / 0.6107 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4951, allocations: 0 / 0.6107 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.4954, allocations: 242 kB / 0.6109 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4954, allocations: 4 kB / 0.6109 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.4957, allocations: 55.95 kB / 0.611 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.4957, allocations: 3.984 kB / 0.611 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4957, allocations: 4 kB / 0.611 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007511/0.4965, allocations: 1.223 MB / 0.6122 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4965, allocations: 0 / 0.6122 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002142/0.4967, allocations: 191.5 kB / 0.6123 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.4968, allocations: 100.8 kB / 0.6124 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.4968, allocations: 8.094 kB / 0.6124 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.497, allocations: 11.98 kB / 0.6125 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4971, allocations: 4 kB / 0.6125 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4971, allocations: 4 kB / 0.6125 GB, free: 6.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001288/0.4972, allocations: 167.1 kB / 0.6126 GB, free: 6.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006496/0.4979, allocations: 123.7 kB / 0.6127 GB, free: 6.512 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 (7): * Single equations (assignments): 5 * 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.0004921/0.4984, allocations: 267.8 kB / 0.613 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.4988, allocations: 161.7 kB / 0.6131 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4989, allocations: 4 kB / 0.6132 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.4991, allocations: 63.97 kB / 0.6132 GB, free: 6.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4993, allocations: 12.66 kB / 0.6132 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5, allocations: 297.3 kB / 0.6135 GB, free: 5.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.5004, allocations: 0.798 MB / 0.6143 GB, free: 4.863 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5004, allocations: 0 / 0.6143 GB, free: 4.863 MB / 426.7 MB Notification: Performance of Templates: time 0.00991/0.5103, allocations: 5.509 MB / 0.6197 GB, free: 15.38 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches