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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [: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.002363/0.002363, allocations: 168.5 kB / 8.147 MB, free: 2.219 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.78/1.78, 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.001253/0.001252, allocations: 96.55 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.2798/0.2798, allocations: 43.5 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.915e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 58.84 MB / 476.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.4263, allocations: 93.61 MB / 0.5568 GB, free: 5.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/0.4267, allocations: 95.44 kB / 0.5569 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03481/0.4615, allocations: 7.444 MB / 0.5642 GB, free: 13.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4616, allocations: 4 kB / 0.5642 GB, free: 13.9 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007122/0.4623, allocations: 465.8 kB / 0.5646 GB, free: 13.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4624, allocations: 12.03 kB / 0.5646 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.4624, allocations: 19.72 kB / 0.5646 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.4627, allocations: 214.5 kB / 0.5648 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4627, allocations: 4 kB / 0.5649 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.4628, allocations: 15.98 kB / 0.5649 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003009/0.4631, allocations: 112.3 kB / 0.565 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.4635, allocations: 158.8 kB / 0.5651 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4635, allocations: 8 kB / 0.5651 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4635, allocations: 3.938 kB / 0.5651 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4636, allocations: 4 kB / 0.5651 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.4647, allocations: 0.5223 MB / 0.5657 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4649, allocations: 46.61 kB / 0.5657 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.465, allocations: 20.92 kB / 0.5657 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.4651, allocations: 3.906 kB / 0.5657 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4651, allocations: 30.56 kB / 0.5657 GB, free: 12.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.4651, allocations: 0 / 0.5657 GB, free: 12.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000303/0.4654, allocations: 77.53 kB / 0.5658 GB, free: 12.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4655, allocations: 59.31 kB / 0.5659 GB, free: 11.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4657, allocations: 157.8 kB / 0.566 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4657, allocations: 25.7 kB / 0.5661 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.4658, allocations: 225.9 kB / 0.5663 GB, free: 11.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.4659, allocations: 19.69 kB / 0.5663 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.4659, allocations: 0 / 0.5663 GB, free: 11.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.466, allocations: 322.7 kB / 0.5666 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.4661, allocations: 24 kB / 0.5666 GB, free: 11.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4663, allocations: 116.2 kB / 0.5667 GB, free: 11.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4665, allocations: 43.98 kB / 0.5668 GB, free: 11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4665, allocations: 0 / 0.5668 GB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003854/0.4669, allocations: 145.3 kB / 0.5669 GB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4669, allocations: 4 kB / 0.5669 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/0.467, allocations: 12 kB / 0.5669 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.467, allocations: 4 kB / 0.5669 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.4672, allocations: 44.34 kB / 0.567 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4673, allocations: 7.938 kB / 0.567 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.4675, allocations: 23.83 kB / 0.567 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.4675, allocations: 8 kB / 0.567 GB, free: 10.75 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.824e-05/0.4676, allocations: 35.11 kB / 0.567 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.4677, allocations: 15.81 kB / 0.5671 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.4682, allocations: 122.6 kB / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4682, allocations: 0 / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4682, allocations: 0 / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4682, allocations: 0 / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.4686, allocations: 202 kB / 0.5674 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.4686, allocations: 11.94 kB / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.4687, allocations: 19.92 kB / 0.5674 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.4688, allocations: 7.906 kB / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4688, allocations: 0 / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4688, allocations: 0 / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4688, allocations: 0 / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002772/0.4691, allocations: 183.3 kB / 0.5676 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.4692, allocations: 96.8 kB / 0.5677 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4692, allocations: 0 / 0.5677 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4694, allocations: 11.98 kB / 0.5677 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.4695, allocations: 4 kB / 0.5677 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4695, allocations: 4 kB / 0.5677 GB, free: 9.961 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001204/0.4696, allocations: 115.3 kB / 0.5678 GB, free: 9.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005497/0.4702, allocations: 83.83 kB / 0.5679 GB, free: 9.766 MB / 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005024/0.4707, allocations: 211.2 kB / 0.5681 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.4712, allocations: 140.1 kB / 0.5682 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4712, allocations: 0 / 0.5682 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4714, allocations: 87.39 kB / 0.5683 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4717, allocations: 15.62 kB / 0.5683 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.4726, allocations: 231.2 kB / 0.5685 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.473, allocations: 0.7526 MB / 0.5693 GB, free: 8.258 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.473, allocations: 0 / 0.5693 GB, free: 8.258 MB / 410.7 MB Notification: Performance of Templates: time 0.009506/0.4825, allocations: 4.285 MB / 0.5735 GB, free: 3.969 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches