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.001013/0.001013, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.00107/0.00107, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.495/1.495, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2248/0.2248, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4619, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.006/0.468, allocations: 2.196 MB / 0.5211 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.4711, allocations: 1.124 MB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.4713, allocations: 1.531 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.4718, allocations: 65.78 kB / 0.5222 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.4723, allocations: 95.77 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.4733, allocations: 182.1 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.4743, allocations: 0.4922 MB / 0.523 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4744, allocations: 52.92 kB / 0.523 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.4748, allocations: 174.1 kB / 0.5232 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.4752, allocations: 196.1 kB / 0.5234 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.4753, allocations: 14.03 kB / 0.5234 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.4762, allocations: 339.1 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4765, allocations: 98.56 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.4768, allocations: 183.4 kB / 0.524 GB, free: 484 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.478, allocations: 0.58 MB / 0.5246 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.478, allocations: 0.5156 kB / 0.5246 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.478, allocations: 0 / 0.5246 GB, free: 252 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.478, allocations: 2.094 kB / 0.5246 GB, free: 252 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.001924/0.48, allocations: 0.751 MB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.48, allocations: 8.953 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.4802, allocations: 47.75 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.4808, allocations: 295.4 kB / 0.5256 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.4809, allocations: 35.91 kB / 0.5257 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.481, allocations: 45.56 kB / 0.5257 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.4828, allocations: 0.6623 MB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4829, allocations: 9.047 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.4829, allocations: 15.94 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.483, allocations: 22.16 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.4846, allocations: 485.3 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.4882, allocations: 1.51 MB / 0.5283 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.4893, allocations: 309.7 kB / 0.5286 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.49, allocations: 147.3 kB / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/0.4901, allocations: 10.16 kB / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.4901, allocations: 44.28 kB / 0.5288 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.4902, allocations: 0 / 0.5288 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002265/0.4924, allocations: 0.4914 MB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.4925, allocations: 109 kB / 0.5294 GB, free: 13.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.4937, allocations: 0.5386 MB / 0.5299 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.4938, allocations: 27.11 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.4941, allocations: 236.3 kB / 0.5302 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4942, allocations: 64.41 kB / 0.5302 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.4945, allocations: 84.97 kB / 0.5303 GB, free: 12.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.4948, allocations: 359.1 kB / 0.5307 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.4955, allocations: 156 kB / 0.5308 GB, free: 11.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.4963, allocations: 269.9 kB / 0.5311 GB, free: 11.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.4979, allocations: 451.5 kB / 0.5315 GB, free: 11.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.498, allocations: 1.281 kB / 0.5315 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001865/0.4998, allocations: 0.4997 MB / 0.532 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4999, allocations: 11.03 kB / 0.532 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.5, allocations: 41.61 kB / 0.532 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.5001, allocations: 9.5 kB / 0.5321 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.5005, allocations: 42.05 kB / 0.5321 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.5005, allocations: 10.69 kB / 0.5321 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.5012, allocations: 80 kB / 0.5322 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.5013, allocations: 21.53 kB / 0.5322 GB, free: 11.11 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.0004634/0.5018, allocations: 207.8 kB / 0.5324 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.502, allocations: 38.44 kB / 0.5324 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.5036, allocations: 442.9 kB / 0.5329 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.5036, allocations: 8.562 kB / 0.5329 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5037, allocations: 5.219 kB / 0.5329 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5037, allocations: 3.984 kB / 0.5329 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5047, allocations: 388.9 kB / 0.5333 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.361e-05/0.5048, allocations: 42.31 kB / 0.5333 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.505, allocations: 25.03 kB / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.505, allocations: 1.656 kB / 0.5333 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.505, allocations: 14.41 kB / 0.5333 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.505, allocations: 5.25 kB / 0.5333 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.505, allocations: 1.219 kB / 0.5333 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.506, allocations: 0.6026 MB / 0.5339 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5061, allocations: 127.3 kB / 0.534 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.5062, allocations: 5.094 kB / 0.5341 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.5065, allocations: 23.14 kB / 0.5341 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.5066, allocations: 23.78 kB / 0.5341 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.5066, allocations: 14.47 kB / 0.5341 GB, free: 9.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000469/0.5071, allocations: 392.5 kB / 0.5345 GB, free: 9.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5071, allocations: 0 / 0.5345 GB, free: 9.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.5077, allocations: 127 kB / 0.5346 GB, free: 9.543 MB / 398.1 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.0003845/0.5081, allocations: 161.9 kB / 0.5348 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.5092, allocations: 0.6689 MB / 0.5354 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5092, allocations: 0 / 0.5354 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.5098, allocations: 481.2 kB / 0.5359 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.5105, allocations: 122 kB / 0.536 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5125, allocations: 0.9086 MB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.5132, allocations: 0.8713 MB / 0.5377 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.5135, allocations: 85.66 kB / 0.5378 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.5136, allocations: 27.5 kB / 0.5378 GB, free: 7.07 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5136, allocations: 0 / 0.5378 GB, free: 7.07 MB / 398.1 MB Notification: Performance of Templates: time 0.01536/0.529, allocations: 8.77 MB / 0.5464 GB, free: 15.34 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/jenkins/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/jenkins/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