Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.002165/0.002165, allocations: 96.02 kB / 15.98 MB, free: 6.336 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.002615/0.002615, allocations: 193.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2398/0.2398, allocations: 43.51 MB / 313.6 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.67 kB / 382.2 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 57.8 MB / 440 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003645/0.1337, allocations: 2.239 MB / 442.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1353, allocations: 1.166 MB / 443.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1354, allocations: 4 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1357, allocations: 51.72 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1359, allocations: 99.42 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1364, allocations: 147.6 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.1368, allocations: 497.8 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.1369, allocations: 60.98 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1371, allocations: 171.1 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1373, allocations: 207 kB / 444.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1373, allocations: 19.94 kB / 444.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.1377, allocations: 323.5 kB / 445 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.1378, allocations: 103.5 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1379, allocations: 182.8 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.1384, allocations: 0.5721 MB / 445.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1384, allocations: 4 kB / 445.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1384, allocations: 0 / 445.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1385, allocations: 0 / 445.9 MB, free: 1.48 MB / 318.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.001187/0.1396, allocations: 0.7564 MB / 446.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1397, allocations: 15.89 kB / 446.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.1398, allocations: 44.38 kB / 446.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1401, allocations: 307.5 kB / 447 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.1402, allocations: 33.38 kB / 447 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.1402, allocations: 48.12 kB / 447 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.1413, allocations: 0.6597 MB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1413, allocations: 0 / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.1413, allocations: 20 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.1414, allocations: 24.98 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008673/0.1423, allocations: 487.5 kB / 448.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1444, allocations: 1.503 MB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.145, allocations: 307.5 kB / 450 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1453, allocations: 158.4 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/0.1454, allocations: 7.984 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1454, allocations: 38.56 kB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.1454, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001192/0.1466, allocations: 0.4968 MB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1467, allocations: 114.7 kB / 450.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.1473, allocations: 0.5329 MB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1473, allocations: 37.64 kB / 451.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1475, allocations: 220.1 kB / 451.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.1476, allocations: 78.94 kB / 451.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1477, allocations: 81.88 kB / 451.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1479, allocations: 354.8 kB / 452.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.1482, allocations: 156.1 kB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.1486, allocations: 267.9 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.1494, allocations: 450.9 kB / 453 MB, free: 9.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1494, allocations: 0 / 453 MB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009128/0.1504, allocations: 0.4887 MB / 453.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1504, allocations: 10.81 kB / 453.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-05/0.1505, allocations: 39.98 kB / 453.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.1505, allocations: 12.47 kB / 453.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1507, allocations: 47.89 kB / 453.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1508, allocations: 11.94 kB / 453.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.151, allocations: 67.27 kB / 453.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.1511, allocations: 23.98 kB / 453.7 MB, free: 9.258 MB / 334.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.0002208/0.1513, allocations: 213.6 kB / 453.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1514, allocations: 39.44 kB / 453.9 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.1523, allocations: 453.1 kB / 454.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1523, allocations: 7.938 kB / 454.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1523, allocations: 0 / 454.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1523, allocations: 4 kB / 454.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.1529, allocations: 381.3 kB / 454.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-05/0.1529, allocations: 35.98 kB / 454.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1531, allocations: 31.97 kB / 454.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1531, allocations: 0 / 454.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1531, allocations: 11.98 kB / 454.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1531, allocations: 7.938 kB / 454.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1531, allocations: 0 / 454.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/0.1541, allocations: 0.6104 MB / 455.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1542, allocations: 124.5 kB / 455.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.1543, allocations: 8 kB / 455.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.1546, allocations: 19.91 kB / 455.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.1547, allocations: 19.98 kB / 455.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1547, allocations: 23.98 kB / 455.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004076/0.1551, allocations: 399 kB / 456 MB, free: 6.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 0 / 456 MB, free: 6.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005827/0.1557, allocations: 131.8 kB / 456.2 MB, free: 6.672 MB / 334.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.0003585/0.1561, allocations: 167 kB / 456.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1572, allocations: 0.6844 MB / 457 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1572, allocations: 4 kB / 457 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.1578, allocations: 472.2 kB / 457.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.1587, allocations: 118 kB / 457.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1604, allocations: 1.026 MB / 458.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.161, allocations: 0.866 MB / 459.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.1613, allocations: 87.34 kB / 459.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.1614, allocations: 27.44 kB / 459.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1614, allocations: 0 / 459.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Templates: time 0.01638/0.1778, allocations: 8.391 MB / 468 MB, free: 10.67 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches