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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111.7 kB / 18.45 MB, free: 4.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 186.1 kB / 19.39 MB, free: 3.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 67.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3277, allocations: 60.81 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003411/0.3312, allocations: 2.207 MB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3329, allocations: 1.119 MB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.3332, allocations: 3.344 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3335, allocations: 66.17 kB / 0.5229 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.3338, allocations: 107.5 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.3343, allocations: 183.8 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.3348, allocations: 0.4898 MB / 0.5237 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.3349, allocations: 57.47 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3351, allocations: 174.3 kB / 0.5239 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3353, allocations: 196.2 kB / 0.5241 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.3354, allocations: 14.41 kB / 0.5241 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.3359, allocations: 323.2 kB / 0.5244 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.336, allocations: 106.3 kB / 0.5245 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3362, allocations: 184.2 kB / 0.5247 GB, free: 492 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.337, allocations: 0.5824 MB / 0.5252 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.337, allocations: 8 kB / 0.5253 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.337, allocations: 0 / 0.5253 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.337, allocations: 0 / 0.5253 GB, free: 248 kB / 382.1 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.001282/0.3383, allocations: 0.7635 MB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3384, allocations: 8.25 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.3385, allocations: 48.03 kB / 0.5261 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3388, allocations: 299.9 kB / 0.5263 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3389, allocations: 35.23 kB / 0.5264 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.339, allocations: 50.38 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.34, allocations: 0.6543 MB / 0.5271 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.34, allocations: 5.188 kB / 0.5271 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.3401, allocations: 24.25 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.3401, allocations: 21.78 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.341, allocations: 485.1 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.3431, allocations: 1.507 MB / 0.529 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.3437, allocations: 305.7 kB / 0.5293 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.3441, allocations: 148.3 kB / 0.5295 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.3441, allocations: 13.75 kB / 0.5295 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3442, allocations: 36.81 kB / 0.5295 GB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.3442, allocations: 0 / 0.5295 GB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001297/0.3455, allocations: 0.4986 MB / 0.53 GB, free: 13.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.3455, allocations: 108.7 kB / 0.5301 GB, free: 13.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.3462, allocations: 0.5471 MB / 0.5307 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3462, allocations: 25.7 kB / 0.5307 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.3464, allocations: 232.6 kB / 0.5309 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.3465, allocations: 73 kB / 0.531 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3466, allocations: 85.42 kB / 0.531 GB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3468, allocations: 354.9 kB / 0.5314 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3472, allocations: 151.5 kB / 0.5315 GB, free: 11.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.3476, allocations: 283.8 kB / 0.5318 GB, free: 11.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.3484, allocations: 451 kB / 0.5322 GB, free: 11.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3484, allocations: 3.938 kB / 0.5322 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001057/0.3495, allocations: 0.4904 MB / 0.5327 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3495, allocations: 15 kB / 0.5327 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/0.3496, allocations: 41.14 kB / 0.5328 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3496, allocations: 5.5 kB / 0.5328 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3499, allocations: 50.7 kB / 0.5328 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3499, allocations: 9.406 kB / 0.5328 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.3503, allocations: 72.58 kB / 0.5329 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.3504, allocations: 21.84 kB / 0.5329 GB, free: 11.09 MB / 398.1 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.0002675/0.3507, allocations: 215.5 kB / 0.5331 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3508, allocations: 42.12 kB / 0.5332 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/0.3518, allocations: 443.8 kB / 0.5336 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3518, allocations: 5.062 kB / 0.5336 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.822e-05/0.3519, allocations: 41.52 kB / 0.5336 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.352, allocations: 127.1 kB / 0.5338 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3521, allocations: 9.078 kB / 0.5338 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.3525, allocations: 22.45 kB / 0.5338 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.3526, allocations: 24.5 kB / 0.5338 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001065/0.3536, allocations: 0.5697 MB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001062/0.3547, allocations: 0.6948 MB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003661/0.3551, allocations: 142.7 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004523/0.3555, allocations: 393.2 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of Backend: time 7.32e-07/0.3556, allocations: 1.75 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.3571, allocations: 0.6628 MB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of SimCode: time 0.001998/0.3591, allocations: 1.577 MB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of Templates: time 0.01508/0.3742, allocations: 9.055 MB / 0.5466 GB, free: 15.86 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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