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.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [: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.001714/0.001714, allocations: 172.9 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.729/1.729, 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.001298/0.001298, allocations: 98.91 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.2847/0.2847, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/8.136e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 58.83 MB / 476.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.4344, allocations: 91.31 MB / 0.5546 GB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.4349, allocations: 99.86 kB / 0.5547 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04394/0.4788, allocations: 9.346 MB / 0.5638 GB, free: 14.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.4789, allocations: 4 kB / 0.5638 GB, free: 14.27 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001107/0.48, allocations: 0.5094 MB / 0.5643 GB, free: 13.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4801, allocations: 12.03 kB / 0.5643 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.4801, allocations: 19.72 kB / 0.5643 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4805, allocations: 222.7 kB / 0.5645 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4805, allocations: 11.89 kB / 0.5645 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.4806, allocations: 8 kB / 0.5645 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004396/0.481, allocations: 143.9 kB / 0.5647 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.4816, allocations: 232.7 kB / 0.5649 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4816, allocations: 0 / 0.5649 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.4817, allocations: 3.938 kB / 0.5649 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.4817, allocations: 15.98 kB / 0.5649 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.4833, allocations: 0.7154 MB / 0.5656 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.484, allocations: 199.8 kB / 0.5658 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4842, allocations: 78.53 kB / 0.5659 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.4843, allocations: 4 kB / 0.5659 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4843, allocations: 30.56 kB / 0.5659 GB, free: 11.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.01e-05/0.4843, allocations: 4 kB / 0.5659 GB, free: 11.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006419/0.485, allocations: 169.5 kB / 0.5661 GB, free: 11.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4851, allocations: 102.8 kB / 0.5662 GB, free: 11.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.4853, allocations: 169.5 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.4854, allocations: 29.64 kB / 0.5664 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4855, allocations: 194.5 kB / 0.5666 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.4855, allocations: 43.36 kB / 0.5666 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.4856, allocations: 0 / 0.5666 GB, free: 11.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4857, allocations: 322.9 kB / 0.5669 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4859, allocations: 55.97 kB / 0.567 GB, free: 10.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4862, allocations: 96.39 kB / 0.5671 GB, free: 10.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4864, allocations: 79.84 kB / 0.5671 GB, free: 10.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4864, allocations: 0 / 0.5671 GB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000575/0.487, allocations: 185.5 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.487, allocations: 4 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-05/0.4871, allocations: 11.98 kB / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4871, allocations: 7.906 kB / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4876, allocations: 44.06 kB / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4876, allocations: 0 / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.4879, allocations: 35.91 kB / 0.5674 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.488, allocations: 8 kB / 0.5674 GB, free: 10.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8.999e-05/0.4881, allocations: 35.02 kB / 0.5674 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4882, allocations: 15.81 kB / 0.5675 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.4889, allocations: 210.8 kB / 0.5677 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4889, allocations: 4 kB / 0.5677 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4889, allocations: 4 kB / 0.5677 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4889, allocations: 4 kB / 0.5677 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.4895, allocations: 238 kB / 0.5679 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.4895, allocations: 11.98 kB / 0.5679 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.4899, allocations: 35.97 kB / 0.5679 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4899, allocations: 4 kB / 0.5679 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.49, allocations: 7.906 kB / 0.568 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.49, allocations: 4 kB / 0.568 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.49, allocations: 3.984 kB / 0.568 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006251/0.4906, allocations: 449.2 kB / 0.5684 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.4907, allocations: 96.77 kB / 0.5685 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.4908, allocations: 4 kB / 0.5685 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.4912, allocations: 27.97 kB / 0.5685 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.4913, allocations: 19.91 kB / 0.5685 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.4914, allocations: 8 kB / 0.5685 GB, free: 9.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001525/0.4915, allocations: 124.4 kB / 0.5687 GB, free: 8.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.4922, allocations: 87.77 kB / 0.5687 GB, free: 8.805 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004101/0.4926, allocations: 171.1 kB / 0.5689 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.4932, allocations: 225 kB / 0.5691 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4932, allocations: 0 / 0.5691 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.4935, allocations: 157 kB / 0.5693 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.494, allocations: 28.08 kB / 0.5693 GB, free: 8.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4951, allocations: 331.3 kB / 0.5696 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.4956, allocations: 0.7816 MB / 0.5704 GB, free: 7.012 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4957, allocations: 4 kB / 0.5704 GB, free: 7.008 MB / 410.7 MB Notification: Performance of Templates: time 0.008593/0.5043, allocations: 3.475 MB / 0.5738 GB, free: 3.543 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches