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_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_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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002333/0.002333, allocations: 179 kB / 8.153 MB, free: 2.184 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.755/1.755, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001264/0.001264, allocations: 94.45 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.2579/0.2579, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.566e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 58.84 MB / 476.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.4652, allocations: 97.9 MB / 0.561 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.4656, allocations: 95.42 kB / 0.5611 GB, free: 1.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05578/0.5214, allocations: 10.9 MB / 0.5717 GB, free: 6.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5214, allocations: 4 kB / 0.5717 GB, free: 6.133 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.0009342/0.5224, allocations: 0.5684 MB / 0.5723 GB, free: 5.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5225, allocations: 11.97 kB / 0.5723 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5226, allocations: 43.53 kB / 0.5723 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.523, allocations: 238.5 kB / 0.5726 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.523, allocations: 8 kB / 0.5726 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.5231, allocations: 20 kB / 0.5726 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005807/0.5237, allocations: 229.5 kB / 0.5728 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.5245, allocations: 0.5017 MB / 0.5733 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5245, allocations: 11.94 kB / 0.5733 GB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.5246, allocations: 4 kB / 0.5733 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.5246, allocations: 16 kB / 0.5733 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.5282, allocations: 3.945 MB / 0.5772 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.5287, allocations: 86.66 kB / 0.5773 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.5288, allocations: 20.86 kB / 0.5773 GB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.5289, allocations: 8 kB / 0.5773 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.091e-05/0.529, allocations: 38.41 kB / 0.5773 GB, free: 15.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.529, allocations: 0 / 0.5773 GB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004404/0.5294, allocations: 97.39 kB / 0.5774 GB, free: 15.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.5295, allocations: 51.41 kB / 0.5775 GB, free: 15.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.5298, allocations: 219.5 kB / 0.5777 GB, free: 15.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5299, allocations: 29.7 kB / 0.5777 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.5301, allocations: 312.9 kB / 0.578 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.5302, allocations: 35.64 kB / 0.578 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.5302, allocations: 0 / 0.578 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5303, allocations: 322.8 kB / 0.5784 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5305, allocations: 36.64 kB / 0.5784 GB, free: 14.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.5308, allocations: 242.2 kB / 0.5786 GB, free: 14.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.5311, allocations: 83.81 kB / 0.5787 GB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5311, allocations: 4 kB / 0.5787 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006926/0.5318, allocations: 241.7 kB / 0.5789 GB, free: 14.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5319, allocations: 19.45 kB / 0.579 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.5319, allocations: 4 kB / 0.579 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.5319, allocations: 12 kB / 0.579 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.5328, allocations: 103.9 kB / 0.5791 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.5338, allocations: 1.215 MB / 0.5803 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.5343, allocations: 31.73 kB / 0.5803 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.5343, allocations: 23.94 kB / 0.5803 GB, free: 12.71 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.0001214/0.5344, allocations: 56.5 kB / 0.5804 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.5345, allocations: 23.72 kB / 0.5804 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.5352, allocations: 151.5 kB / 0.5805 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5352, allocations: 0 / 0.5805 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5352, allocations: 0 / 0.5805 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5352, allocations: 3.906 kB / 0.5805 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.5357, allocations: 254 kB / 0.5808 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5357, allocations: 0 / 0.5808 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.5362, allocations: 55.97 kB / 0.5808 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.5363, allocations: 0 / 0.5808 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.5363, allocations: 7.984 kB / 0.5808 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.5373, allocations: 1.215 MB / 0.582 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.5374, allocations: 3.906 kB / 0.582 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003623/0.5377, allocations: 195.4 kB / 0.5822 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5379, allocations: 104.7 kB / 0.5823 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.5379, allocations: 3.984 kB / 0.5823 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.5382, allocations: 4 kB / 0.5823 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.5383, allocations: 11.98 kB / 0.5823 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5383, allocations: 11.91 kB / 0.5823 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000226/0.5386, allocations: 167.1 kB / 0.5825 GB, free: 10.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.5394, allocations: 123.7 kB / 0.5826 GB, free: 10.22 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.0007026/0.5402, allocations: 263.1 kB / 0.5829 GB, free: 9.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.5411, allocations: 164.1 kB / 0.583 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5411, allocations: 0 / 0.583 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.5416, allocations: 69.47 kB / 0.5831 GB, free: 9.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.5419, allocations: 12.64 kB / 0.5831 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.543, allocations: 315.3 kB / 0.5834 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.5436, allocations: 0.8057 MB / 0.5842 GB, free: 8.539 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5436, allocations: 0 / 0.5842 GB, free: 8.539 MB / 426.7 MB Notification: Performance of Templates: time 0.01374/0.5574, allocations: 6.414 MB / 0.5905 GB, free: 2.117 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches