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.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [: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.001559/0.001559, allocations: 174.6 kB / 8.148 MB, free: 2.211 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.792/1.792, 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.001304/0.001304, allocations: 91.14 kB / 261.8 MB, free: 13.64 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.2657/0.2657, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.929e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 58.84 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4587, allocations: 98.49 MB / 0.5616 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.4592, allocations: 95.16 kB / 0.5617 GB, free: 492 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.1096/0.5688, allocations: 23.66 MB / 0.5848 GB, free: 8.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.5689, allocations: 8 kB / 0.5848 GB, free: 8.609 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001693/0.5706, allocations: 0.7401 MB / 0.5855 GB, free: 7.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5706, allocations: 12.03 kB / 0.5855 GB, free: 7.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.5709, allocations: 59.34 kB / 0.5856 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.5715, allocations: 302.4 kB / 0.5859 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/0.5715, allocations: 19.91 kB / 0.5859 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5717, allocations: 35.94 kB / 0.5859 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/0.5729, allocations: 470.3 kB / 0.5864 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5746, allocations: 0.6696 MB / 0.587 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5746, allocations: 4 kB / 0.587 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.5747, allocations: 0 / 0.587 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/0.5748, allocations: 29.3 kB / 0.587 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003819/0.5786, allocations: 1.534 MB / 0.5885 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.5794, allocations: 287.6 kB / 0.5888 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.5798, allocations: 118.5 kB / 0.5889 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/0.5799, allocations: 24.05 kB / 0.589 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.5799, allocations: 30.81 kB / 0.589 GB, free: 4.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 5.44e-06/0.5799, allocations: 3.938 kB / 0.589 GB, free: 4.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001156/0.5811, allocations: 313.1 kB / 0.5893 GB, free: 3.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.5812, allocations: 102.8 kB / 0.5894 GB, free: 3.652 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.5817, allocations: 311.2 kB / 0.5897 GB, free: 3.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.5818, allocations: 25.7 kB / 0.5897 GB, free: 3.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.582, allocations: 349.1 kB / 0.59 GB, free: 2.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5821, allocations: 75.03 kB / 0.5901 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.5822, allocations: 0 / 0.5901 GB, free: 2.891 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5824, allocations: 338.8 kB / 0.5904 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.5829, allocations: 160.9 kB / 0.5906 GB, free: 2.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.5836, allocations: 427.9 kB / 0.591 GB, free: 1.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.5842, allocations: 247.6 kB / 0.5912 GB, free: 1.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.5843, allocations: 4 kB / 0.5912 GB, free: 1.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00165/0.5859, allocations: 0.5563 MB / 0.5918 GB, free: 1.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.586, allocations: 8 kB / 0.5918 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.5861, allocations: 47.95 kB / 0.5918 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.674e-05/0.5862, allocations: 16 kB / 0.5918 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.5868, allocations: 79.86 kB / 0.5919 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.5868, allocations: 23.92 kB / 0.5919 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.5874, allocations: 43.73 kB / 0.592 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/0.5875, allocations: 35.98 kB / 0.592 GB, free: 0.7852 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001743/0.5877, allocations: 65.98 kB / 0.5921 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5879, allocations: 27.62 kB / 0.5921 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.5896, allocations: 0.519 MB / 0.5926 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5897, allocations: 8 kB / 0.5926 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5897, allocations: 0 / 0.5926 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5897, allocations: 0 / 0.5926 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5908, allocations: 377.7 kB / 0.593 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001342/0.5909, allocations: 43.95 kB / 0.593 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.5913, allocations: 31.97 kB / 0.5931 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5913, allocations: 4 kB / 0.5931 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.5914, allocations: 8 kB / 0.5931 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5914, allocations: 0 / 0.5931 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.5914, allocations: 3.906 kB / 0.5931 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001129/0.5925, allocations: 0.5828 MB / 0.5936 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.5927, allocations: 108.7 kB / 0.5937 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.5928, allocations: 11.94 kB / 0.5938 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.5933, allocations: 27.92 kB / 0.5938 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.5935, allocations: 23.97 kB / 0.5938 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.5935, allocations: 15.98 kB / 0.5938 GB, free: 14.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003841/0.5939, allocations: 211.1 kB / 0.594 GB, free: 14.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001267/0.5952, allocations: 215.3 kB / 0.5942 GB, free: 14.43 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007702/0.596, allocations: 292.7 kB / 0.5945 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.5974, allocations: 0.6835 MB / 0.5952 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5975, allocations: 2.562 kB / 0.5952 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.5982, allocations: 464.3 kB / 0.5956 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.5988, allocations: 36.19 kB / 0.5957 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.6017, allocations: 0.7316 MB / 0.5964 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.6025, allocations: 0.9272 MB / 0.5973 GB, free: 11.1 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6025, allocations: 0 / 0.5973 GB, free: 11.1 MB / 442.7 MB Notification: Performance of Templates: time 0.02006/0.6226, allocations: 8.377 MB / 0.6055 GB, free: 2.715 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches