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.001535/0.001535, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 203.7 kB / 16.79 MB, free: 6.84 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.677/1.677, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3661/0.3661, allocations: 43.49 MB / 313.5 MB, free: 8.551 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.001798/0.001798, allocations: 63.91 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1454, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00557/0.151, allocations: 2.249 MB / 442.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1536, allocations: 1.177 MB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1538, allocations: 0 / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1543, allocations: 55.72 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1546, allocations: 99.42 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.1551, allocations: 147.6 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.1558, allocations: 0.5836 MB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1559, allocations: 61.31 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1562, allocations: 159.2 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1565, allocations: 218.9 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1565, allocations: 12 kB / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.1571, allocations: 311.5 kB / 444.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1572, allocations: 111.4 kB / 445 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1574, allocations: 182.8 kB / 445.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000734/0.1581, allocations: 0.5643 MB / 445.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1582, allocations: 4 kB / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1582, allocations: 0 / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1582, allocations: 0 / 445.8 MB, free: 8.879 MB / 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.001604/0.1598, allocations: 0.7526 MB / 446.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1598, allocations: 12.03 kB / 446.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.16, allocations: 44.38 kB / 446.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1604, allocations: 303.5 kB / 446.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.1604, allocations: 37.38 kB / 446.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.1605, allocations: 44.12 kB / 446.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1617, allocations: 0.6636 MB / 447.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1617, allocations: 0 / 447.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.1618, allocations: 16 kB / 447.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/0.1618, allocations: 24.98 kB / 447.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1629, allocations: 487.5 kB / 448.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1651, allocations: 1.511 MB / 449.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.1656, allocations: 307.4 kB / 449.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.166, allocations: 158.4 kB / 450.1 MB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.1661, allocations: 11.92 kB / 450.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.1662, allocations: 34.56 kB / 450.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.1662, allocations: 4 kB / 450.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001243/0.1674, allocations: 0.4918 MB / 450.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.1675, allocations: 106.8 kB / 450.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.1681, allocations: 0.5449 MB / 451.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1681, allocations: 33.7 kB / 451.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.1684, allocations: 224 kB / 451.5 MB, free: 2.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.1684, allocations: 67 kB / 451.6 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.1686, allocations: 85.88 kB / 451.7 MB, free: 2.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1689, allocations: 350.8 kB / 452 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.1692, allocations: 164 kB / 452.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.1697, allocations: 271.7 kB / 452.4 MB, free: 1.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.1705, allocations: 450.9 kB / 452.9 MB, free: 1.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1705, allocations: 0 / 452.9 MB, free: 1.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001119/0.1717, allocations: 0.4931 MB / 453.4 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1717, allocations: 11.28 kB / 453.4 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-05/0.1718, allocations: 43.98 kB / 453.4 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1718, allocations: 11.94 kB / 453.4 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1721, allocations: 39.89 kB / 453.5 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1721, allocations: 11.94 kB / 453.5 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.1724, allocations: 71.27 kB / 453.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.1724, allocations: 23.98 kB / 453.6 MB, free: 0.6484 MB / 382.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.0003333/0.1728, allocations: 213.6 kB / 453.8 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.1729, allocations: 39.44 kB / 453.8 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2619/0.4348, allocations: 440.8 kB / 454.3 MB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.4349, allocations: 8.156 kB / 454.3 MB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4349, allocations: 2.469 kB / 454.3 MB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4349, allocations: 3.938 kB / 454.3 MB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.4357, allocations: 388.5 kB / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-05/0.4358, allocations: 36.36 kB / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.436, allocations: 34 kB / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.436, allocations: 0 / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.436, allocations: 10.69 kB / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.436, allocations: 5.125 kB / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.436, allocations: 0 / 454.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.4368, allocations: 0.613 MB / 455.4 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.437, allocations: 128.5 kB / 455.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.4371, allocations: 6.125 kB / 455.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.4374, allocations: 18.92 kB / 455.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.4375, allocations: 24.38 kB / 455.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.4375, allocations: 11.31 kB / 455.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004293/0.4379, allocations: 398.8 kB / 455.9 MB, free: 48.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0.5625 kB / 455.9 MB, free: 48.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.4386, allocations: 131.4 kB / 456.1 MB, free: 48.21 MB / 382.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.0003305/0.4389, allocations: 157.6 kB / 456.2 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.4398, allocations: 0.6693 MB / 456.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4399, allocations: 0 / 456.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.4403, allocations: 477.6 kB / 457.3 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.4411, allocations: 119.2 kB / 457.5 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4426, allocations: 1.014 MB / 458.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4429, allocations: 0.864 MB / 459.3 MB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.4431, allocations: 87.78 kB / 459.4 MB, free: 46.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.4432, allocations: 27.22 kB / 459.5 MB, free: 46.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4432, allocations: 0 / 459.5 MB, free: 46.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01191/0.4551, allocations: 8.098 MB / 467.6 MB, free: 45.69 MB / 382.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