Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.0009723/0.0009725, allocations: 178.6 kB / 8.519 MB, free: 1.832 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.215/1.215, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009149/0.0009149, allocations: 89.55 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.1559/0.1559, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.891e-06, allocations: 224 / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.3668, allocations: 91 MB / 0.583 GB, free: 5.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3671, allocations: 94.38 kB / 0.5831 GB, free: 5.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03259/0.3997, allocations: 11.66 MB / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3997, allocations: 4 kB / 0.5945 GB, free: 9.98 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005951/0.4003, allocations: 0.4908 MB / 0.5949 GB, free: 9.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4004, allocations: 11.97 kB / 0.5949 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.4004, allocations: 31.56 kB / 0.595 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4007, allocations: 246.6 kB / 0.5952 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4007, allocations: 8 kB / 0.5952 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.4008, allocations: 16 kB / 0.5952 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004392/0.4012, allocations: 325.1 kB / 0.5955 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.4016, allocations: 316.7 kB / 0.5958 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4017, allocations: 0 / 0.5958 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4017, allocations: 7.891 kB / 0.5959 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.4017, allocations: 20.66 kB / 0.5959 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4029, allocations: 0.7715 MB / 0.5966 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.4032, allocations: 250.4 kB / 0.5969 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.4034, allocations: 80.86 kB / 0.5969 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4034, allocations: 4 kB / 0.597 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4034, allocations: 34.56 kB / 0.597 GB, free: 7.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.4035, allocations: 0 / 0.597 GB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003845/0.4038, allocations: 216.7 kB / 0.5972 GB, free: 7.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.4039, allocations: 51.41 kB / 0.5972 GB, free: 6.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.404, allocations: 173.5 kB / 0.5974 GB, free: 6.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.404, allocations: 25.7 kB / 0.5974 GB, free: 6.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.4041, allocations: 171.8 kB / 0.5976 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.4042, allocations: 55.2 kB / 0.5976 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4042, allocations: 0 / 0.5976 GB, free: 6.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4043, allocations: 330.7 kB / 0.598 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4045, allocations: 84.41 kB / 0.598 GB, free: 6.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.4047, allocations: 179.7 kB / 0.5982 GB, free: 5.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.4048, allocations: 115.9 kB / 0.5983 GB, free: 5.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4048, allocations: 0 / 0.5983 GB, free: 5.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004291/0.4053, allocations: 301.2 kB / 0.5986 GB, free: 5.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4053, allocations: 4 kB / 0.5986 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4053, allocations: 4 kB / 0.5986 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4053, allocations: 4 kB / 0.5986 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.406, allocations: 119.8 kB / 0.5987 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.4085, allocations: 3.699 MB / 0.6023 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.4089, allocations: 28.16 kB / 0.6024 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.409, allocations: 23.92 kB / 0.6024 GB, free: 1.457 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.4091, allocations: 110.1 kB / 0.6025 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.4092, allocations: 15.81 kB / 0.6025 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.4101, allocations: 327.5 kB / 0.6028 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4102, allocations: 4 kB / 0.6028 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4102, allocations: 0 / 0.6028 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4102, allocations: 0 / 0.6028 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.4107, allocations: 266 kB / 0.6031 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4107, allocations: 4 kB / 0.6031 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.4116, allocations: 107.8 kB / 0.6032 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4116, allocations: 0 / 0.6032 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4116, allocations: 4 kB / 0.6032 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.4143, allocations: 3.699 MB / 0.6068 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4143, allocations: 32 / 0.6068 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005876/0.4149, allocations: 322.8 kB / 0.6071 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.415, allocations: 88.92 kB / 0.6072 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.4151, allocations: 3.906 kB / 0.6072 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.4154, allocations: 15.92 kB / 0.6072 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.4155, allocations: 7.984 kB / 0.6072 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4155, allocations: 7.984 kB / 0.6072 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001351/0.4156, allocations: 140.3 kB / 0.6074 GB, free: 12.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007354/0.4164, allocations: 79.69 kB / 0.6074 GB, free: 12.06 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003361/0.4167, allocations: 155.1 kB / 0.6076 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4181, allocations: 295.6 kB / 0.6079 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4181, allocations: 0 / 0.6079 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.4192, allocations: 184.5 kB / 0.6081 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4195, allocations: 16.59 kB / 0.6081 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4207, allocations: 368.8 kB / 0.6084 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.4213, allocations: 0.825 MB / 0.6092 GB, free: 10.18 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4213, allocations: 0 / 0.6092 GB, free: 10.18 MB / 426.7 MB Notification: Performance of Templates: time 0.01003/0.4313, allocations: 3.533 MB / 0.6127 GB, free: 6.684 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches