Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003473/0.003473, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8671/0.8671, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.005e-05, allocations: 2.281 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.1669/0.1669, allocations: 2.142 MB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.1679, allocations: 1.079 MB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1679, allocations: 4.5 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1681, allocations: 65.95 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1683, allocations: 113.6 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1686, allocations: 198.2 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1689, allocations: 0.51 MB / 447.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1689, allocations: 21.19 kB / 447.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1691, allocations: 227.2 kB / 447.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1692, allocations: 173.1 kB / 448 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1692, allocations: 11.62 kB / 448 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.1694, allocations: 145.6 kB / 448.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.1695, allocations: 111 kB / 448.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.1695, allocations: 122.5 kB / 448.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1699, allocations: 0.5401 MB / 448.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1699, allocations: 0.5 kB / 448.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1699, allocations: 0.5 kB / 448.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1699, allocations: 1.156 kB / 448.9 MB, free: 42.29 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.000657/0.1705, allocations: 0.6878 MB / 449.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.1706, allocations: 8.281 kB / 449.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.1708, allocations: 85.12 kB / 449.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.171, allocations: 241.8 kB / 449.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.171, allocations: 41.25 kB / 450 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.171, allocations: 40.44 kB / 450 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.1716, allocations: 0.6573 MB / 450.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1716, allocations: 7.875 kB / 450.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1716, allocations: 17.62 kB / 450.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.1716, allocations: 31.88 kB / 450.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.1721, allocations: 487 kB / 451.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.173, allocations: 1.269 MB / 452.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1733, allocations: 292.9 kB / 452.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1735, allocations: 142.3 kB / 452.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1735, allocations: 13.03 kB / 452.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.1736, allocations: 41 kB / 452.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1736, allocations: 4 kB / 453 MB, free: 40.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006406/0.1742, allocations: 474.2 kB / 453.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1742, allocations: 105.8 kB / 453.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1743, allocations: 259.8 kB / 453.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1744, allocations: 33.17 kB / 453.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.1744, allocations: 257.7 kB / 454.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1744, allocations: 77.58 kB / 454.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.1745, allocations: 81.34 kB / 454.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.94e-05/0.1745, allocations: 338.2 kB / 454.5 MB, free: 39.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1747, allocations: 153.5 kB / 454.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1749, allocations: 276.8 kB / 455 MB, free: 39.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.1753, allocations: 450.5 kB / 455.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1753, allocations: 2.906 kB / 455.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004859/0.1758, allocations: 489.5 kB / 455.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1758, allocations: 8.625 kB / 455.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.1759, allocations: 39.97 kB / 455.9 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1759, allocations: 5.906 kB / 455.9 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.176, allocations: 39.45 kB / 456 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.176, allocations: 9.719 kB / 456 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1761, allocations: 45.61 kB / 456 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1761, allocations: 28.5 kB / 456.1 MB, free: 38.64 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.0001206/0.1762, allocations: 218.1 kB / 456.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.1763, allocations: 23.7 kB / 456.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.1767, allocations: 420.3 kB / 456.7 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1767, allocations: 3.156 kB / 456.7 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1767, allocations: 3.188 kB / 456.7 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1767, allocations: 0 / 456.7 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.177, allocations: 307.1 kB / 457 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/0.177, allocations: 36.45 kB / 457 MB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.1771, allocations: 33.33 kB / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1771, allocations: 0 / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1771, allocations: 15.39 kB / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1771, allocations: 3.062 kB / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1771, allocations: 0 / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1775, allocations: 0.5782 MB / 457.7 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.1775, allocations: 36.78 kB / 457.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1776, allocations: 3.219 kB / 457.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1777, allocations: 20.33 kB / 457.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.1777, allocations: 24.2 kB / 457.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1777, allocations: 13.59 kB / 457.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.1778, allocations: 182.6 kB / 457.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1778, allocations: 0 / 457.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.1781, allocations: 156.1 kB / 458.1 MB, free: 37.64 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.0001799/0.1783, allocations: 157.7 kB / 458.3 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.1788, allocations: 0.6593 MB / 458.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1788, allocations: 3.938 kB / 458.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.179, allocations: 483 kB / 459.4 MB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1793, allocations: 36.2 kB / 459.4 MB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.1801, allocations: 0.8555 MB / 460.3 MB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.1803, allocations: 256.9 kB / 460.5 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1803, allocations: 21.47 kB / 460.6 MB, free: 36.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1803, allocations: 0 / 460.6 MB, free: 36.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00458/0.1849, allocations: 6.702 MB / 467.3 MB, free: 35.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.797873522154987]