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_laminar.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_laminar,tolerance=1e-07,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009852, allocations: 109 kB / 291.9 MB, free: 10.95 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.3449/0.3449, allocations: 44.13 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 55.92 kB / 457.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3999, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003423/0.4034, allocations: 2.256 MB / 0.5086 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.4049, allocations: 1.124 MB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.405, allocations: 0 / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.4053, allocations: 70.14 kB / 0.5098 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.4055, allocations: 85.27 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.4059, allocations: 151.8 kB / 0.51 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.4064, allocations: 0.5986 MB / 0.5106 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.4065, allocations: 54.22 kB / 0.5106 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.4067, allocations: 170.5 kB / 0.5108 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.4069, allocations: 205 kB / 0.511 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.4069, allocations: 15.59 kB / 0.511 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.4073, allocations: 318.1 kB / 0.5113 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.4074, allocations: 94.19 kB / 0.5114 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4076, allocations: 190.1 kB / 0.5116 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.4081, allocations: 0.5659 MB / 0.5121 GB, free: 34.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4081, allocations: 0 / 0.5121 GB, free: 34.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4081, allocations: 0 / 0.5121 GB, free: 34.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4081, allocations: 3 kB / 0.5121 GB, free: 34.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001003/0.4091, allocations: 0.7485 MB / 0.5129 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4091, allocations: 8.219 kB / 0.5129 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.4092, allocations: 55.31 kB / 0.5129 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4096, allocations: 297.8 kB / 0.5132 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4096, allocations: 35.97 kB / 0.5133 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.4097, allocations: 46 kB / 0.5133 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/0.4105, allocations: 0.6611 MB / 0.5139 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4106, allocations: 4 kB / 0.5139 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.4106, allocations: 15.03 kB / 0.514 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.4106, allocations: 23.06 kB / 0.514 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.4114, allocations: 482.7 kB / 0.5144 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.4132, allocations: 1.514 MB / 0.5159 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.4137, allocations: 305.2 kB / 0.5162 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.414, allocations: 151.5 kB / 0.5164 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.4141, allocations: 9.328 kB / 0.5164 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4141, allocations: 42.34 kB / 0.5164 GB, free: 32.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.4141, allocations: 0 / 0.5164 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001119/0.4153, allocations: 0.4997 MB / 0.5169 GB, free: 32.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4153, allocations: 109.1 kB / 0.517 GB, free: 32.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4158, allocations: 0.5328 MB / 0.5175 GB, free: 32.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4158, allocations: 28.86 kB / 0.5175 GB, free: 32.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4159, allocations: 231.9 kB / 0.5178 GB, free: 31.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.416, allocations: 69.53 kB / 0.5178 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4161, allocations: 85.62 kB / 0.5179 GB, free: 31.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.4162, allocations: 355.8 kB / 0.5183 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.4165, allocations: 157.5 kB / 0.5184 GB, free: 31.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.4168, allocations: 277.4 kB / 0.5187 GB, free: 31.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.4175, allocations: 446.6 kB / 0.5191 GB, free: 31.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4175, allocations: 0 / 0.5191 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008395/0.4184, allocations: 0.4953 MB / 0.5196 GB, free: 30.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4184, allocations: 10.25 kB / 0.5196 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/0.4185, allocations: 43.45 kB / 0.5196 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4185, allocations: 9.406 kB / 0.5196 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.4187, allocations: 40.06 kB / 0.5197 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4187, allocations: 9.203 kB / 0.5197 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.419, allocations: 79.22 kB / 0.5198 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.419, allocations: 17.41 kB / 0.5198 GB, free: 30.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.4192, allocations: 210.6 kB / 0.52 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4193, allocations: 46.41 kB / 0.52 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.4201, allocations: 445.3 kB / 0.5204 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4201, allocations: 9.75 kB / 0.5205 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4201, allocations: 4 kB / 0.5205 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4201, allocations: 3.938 kB / 0.5205 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.4206, allocations: 391.9 kB / 0.5208 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.025e-05/0.4206, allocations: 37.06 kB / 0.5209 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.4208, allocations: 23.73 kB / 0.5209 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4208, allocations: 6.984 kB / 0.5209 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4208, allocations: 13.06 kB / 0.5209 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4208, allocations: 14.77 kB / 0.5209 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4208, allocations: 0 / 0.5209 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.422, allocations: 1.412 MB / 0.5223 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.4221, allocations: 121.4 kB / 0.5224 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.4222, allocations: 10.38 kB / 0.5224 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4225, allocations: 19.06 kB / 0.5225 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.4226, allocations: 26.12 kB / 0.5225 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.4226, allocations: 13.56 kB / 0.5225 GB, free: 29.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.4229, allocations: 394.5 kB / 0.5229 GB, free: 28.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4229, allocations: 0 / 0.5229 GB, free: 28.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006093/0.4235, allocations: 130.1 kB / 0.523 GB, free: 28.89 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.4238, allocations: 164.9 kB / 0.5231 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.4246, allocations: 0.6664 MB / 0.5238 GB, free: 28.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4246, allocations: 0 / 0.5238 GB, free: 28.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.425, allocations: 477.2 kB / 0.5243 GB, free: 27.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.4257, allocations: 120.3 kB / 0.5244 GB, free: 27.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4272, allocations: 1.186 MB / 0.5255 GB, free: 27.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4275, allocations: 0.8735 MB / 0.5264 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.4277, allocations: 86.23 kB / 0.5265 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.4278, allocations: 30.7 kB / 0.5265 GB, free: 26.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4278, allocations: 0 / 0.5265 GB, free: 26.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01288/0.4406, allocations: 8.295 MB / 0.5346 GB, free: 25.92 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches