Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008226/0.0008226, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003262/0.003262, allocations: 157 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8428/0.8428, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 4 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.915e-05, allocations: 8.469 kB / 443.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.1592/0.1593, allocations: 2.14 MB / 445.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1603, allocations: 1.077 MB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.1604, allocations: 0 / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1606, allocations: 74.92 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1607, allocations: 106.2 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1611, allocations: 201.2 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.1613, allocations: 0.5103 MB / 447.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1614, allocations: 24.39 kB / 447.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1616, allocations: 230.8 kB / 447.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1617, allocations: 172.6 kB / 448 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1617, allocations: 13.44 kB / 448 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1619, allocations: 145.6 kB / 448.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.162, allocations: 107.2 kB / 448.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.1621, allocations: 118.7 kB / 448.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1624, allocations: 0.54 MB / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1624, allocations: 0.8125 kB / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1624, allocations: 0 / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1624, allocations: 0 / 448.9 MB, free: 42.16 MB / 410.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.0006627/0.1631, allocations: 0.6906 MB / 449.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1631, allocations: 8.594 kB / 449.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1633, allocations: 81.78 kB / 449.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1635, allocations: 247 kB / 449.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1635, allocations: 37.09 kB / 450 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1636, allocations: 44.88 kB / 450 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.1641, allocations: 0.6549 MB / 450.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1641, allocations: 3.938 kB / 450.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1641, allocations: 14.94 kB / 450.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.1642, allocations: 31.81 kB / 450.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.1646, allocations: 485.3 kB / 451.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.1656, allocations: 1.266 MB / 452.4 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1659, allocations: 293.6 kB / 452.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.166, allocations: 146.1 kB / 452.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1661, allocations: 13.08 kB / 452.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.1661, allocations: 37.38 kB / 452.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.1661, allocations: 3.938 kB / 452.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006546/0.1667, allocations: 487.3 kB / 453.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1668, allocations: 105.2 kB / 453.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1669, allocations: 261.5 kB / 453.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1669, allocations: 25.7 kB / 453.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.167, allocations: 262.7 kB / 454 MB, free: 39.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.167, allocations: 63.17 kB / 454.1 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.1671, allocations: 84.41 kB / 454.2 MB, free: 39.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.1671, allocations: 338.1 kB / 454.5 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.1673, allocations: 161.4 kB / 454.7 MB, free: 39.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1675, allocations: 282.5 kB / 454.9 MB, free: 38.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1679, allocations: 451.5 kB / 455.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1679, allocations: 0 / 455.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004942/0.1684, allocations: 481.9 kB / 455.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1684, allocations: 8.5 kB / 455.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/0.1685, allocations: 41.62 kB / 455.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1685, allocations: 5.719 kB / 455.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1686, allocations: 38.92 kB / 455.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1686, allocations: 11.39 kB / 456 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1687, allocations: 47.61 kB / 456 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1687, allocations: 24.34 kB / 456 MB, free: 38.51 MB / 410.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.0001165/0.1688, allocations: 215.1 kB / 456.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1689, allocations: 23.81 kB / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.1693, allocations: 425.2 kB / 456.7 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1693, allocations: 6.375 kB / 456.7 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1693, allocations: 7.156 kB / 456.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1693, allocations: 0 / 456.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1696, allocations: 305 kB / 457 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.1696, allocations: 39.62 kB / 457 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.1697, allocations: 22.38 kB / 457.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1697, allocations: 3.188 kB / 457.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1697, allocations: 13.69 kB / 457.1 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1697, allocations: 2.688 kB / 457.1 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1697, allocations: 0 / 457.1 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1701, allocations: 0.592 MB / 457.7 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.1701, allocations: 34.83 kB / 457.7 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1702, allocations: 3.938 kB / 457.7 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1703, allocations: 23.06 kB / 457.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1703, allocations: 20.17 kB / 457.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1703, allocations: 13 kB / 457.8 MB, free: 37.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.1704, allocations: 181.4 kB / 457.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1704, allocations: 2.812 kB / 457.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.1707, allocations: 159.9 kB / 458.1 MB, free: 37.51 MB / 410.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.0001909/0.1709, allocations: 159.3 kB / 458.2 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.1714, allocations: 0.653 MB / 458.9 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1714, allocations: 3.125 kB / 458.9 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1716, allocations: 487.6 kB / 459.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1719, allocations: 33.45 kB / 459.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.1728, allocations: 0.8509 MB / 460.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.1729, allocations: 258.5 kB / 460.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.173, allocations: 21.59 kB / 460.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.173, allocations: 0 / 460.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of Templates: time 0.004823/0.1778, allocations: 6.697 MB / 467.2 MB, free: 35.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876159491017461]