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.001356/0.001356, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 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.001442/0.001442, allocations: 207.3 kB / 21.4 MB, free: 1.645 MB / 14.72 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 1.502/1.502, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.2387/0.2387, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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 0.002318/0.002318, allocations: 76.31 kB / 490.2 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 62.45 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005167/0.1353, allocations: 2.227 MB / 0.5419 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.1381, allocations: 1.176 MB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1383, allocations: 4 kB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1386, allocations: 71.53 kB / 0.5431 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.139, allocations: 107.3 kB / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.1398, allocations: 183.3 kB / 0.5434 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.1407, allocations: 0.4938 MB / 0.5439 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1408, allocations: 57 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.1412, allocations: 171.1 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1416, allocations: 207 kB / 0.5443 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.1417, allocations: 12 kB / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.1425, allocations: 343.5 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1426, allocations: 95.47 kB / 0.5447 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.1429, allocations: 182.8 kB / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.144, allocations: 0.5913 MB / 0.5455 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.144, allocations: 0 / 0.5455 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.144, allocations: 0 / 0.5455 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.144, allocations: 3.938 kB / 0.5455 GB, free: 14.29 MB / 414.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.001727/0.1458, allocations: 0.7635 MB / 0.5462 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1458, allocations: 12.03 kB / 0.5462 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.1464, allocations: 84.56 kB / 0.5463 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.147, allocations: 307.6 kB / 0.5466 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.1471, allocations: 37.38 kB / 0.5466 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.1472, allocations: 51.88 kB / 0.5467 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1488, allocations: 0.6519 MB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1488, allocations: 0 / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.1489, allocations: 16 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.149, allocations: 28.92 kB / 0.5474 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1504, allocations: 483.6 kB / 0.5478 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.1535, allocations: 1.52 MB / 0.5493 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/0.1544, allocations: 303.5 kB / 0.5496 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.155, allocations: 154.4 kB / 0.5497 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/0.155, allocations: 8 kB / 0.5498 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.1551, allocations: 38.5 kB / 0.5498 GB, free: 9.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.1551, allocations: 0 / 0.5498 GB, free: 9.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001971/0.1571, allocations: 0.4951 MB / 0.5503 GB, free: 9.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.1572, allocations: 102.8 kB / 0.5504 GB, free: 9.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.1582, allocations: 0.5448 MB / 0.5509 GB, free: 8.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.1583, allocations: 33.7 kB / 0.5509 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.1585, allocations: 232.3 kB / 0.5512 GB, free: 8.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1587, allocations: 75.38 kB / 0.5512 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.1589, allocations: 77.97 kB / 0.5513 GB, free: 8.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.1592, allocations: 354.8 kB / 0.5516 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.1597, allocations: 156.1 kB / 0.5518 GB, free: 7.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.1605, allocations: 275.9 kB / 0.5521 GB, free: 7.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.1618, allocations: 453.1 kB / 0.5525 GB, free: 6.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1618, allocations: 0 / 0.5525 GB, free: 6.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001669/0.1635, allocations: 0.4928 MB / 0.553 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.1636, allocations: 8.531 kB / 0.553 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.1637, allocations: 39.98 kB / 0.553 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.1637, allocations: 15.94 kB / 0.553 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.1641, allocations: 43.89 kB / 0.5531 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.1641, allocations: 8 kB / 0.5531 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.1646, allocations: 71.44 kB / 0.5531 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.1647, allocations: 23.98 kB / 0.5532 GB, free: 5.996 MB / 414.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.0003717/0.1651, allocations: 217.5 kB / 0.5534 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.1652, allocations: 51.72 kB / 0.5534 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1666, allocations: 450.7 kB / 0.5539 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.1666, allocations: 4 kB / 0.5539 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1666, allocations: 4 kB / 0.5539 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1666, allocations: 0 / 0.5539 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.1676, allocations: 393.3 kB / 0.5542 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.631e-05/0.1677, allocations: 32 kB / 0.5543 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.168, allocations: 23.97 kB / 0.5543 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.168, allocations: 15.98 kB / 0.5543 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.168, allocations: 15.94 kB / 0.5543 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1681, allocations: 3.938 kB / 0.5543 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1681, allocations: 0 / 0.5543 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1695, allocations: 0.5996 MB / 0.5549 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.1697, allocations: 128.8 kB / 0.555 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.1698, allocations: 7.938 kB / 0.555 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.1703, allocations: 23.97 kB / 0.5551 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.1704, allocations: 19.98 kB / 0.5551 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.1705, allocations: 11.98 kB / 0.5551 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007288/0.1712, allocations: 407 kB / 0.5555 GB, free: 3.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1712, allocations: 0 / 0.5555 GB, free: 3.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009464/0.1722, allocations: 131.8 kB / 0.5556 GB, free: 3.398 MB / 414.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.0004588/0.1727, allocations: 159 kB / 0.5558 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.1741, allocations: 0.6666 MB / 0.5564 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1742, allocations: 4.062 kB / 0.5564 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.175, allocations: 476.2 kB / 0.5569 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.1761, allocations: 117.9 kB / 0.557 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1785, allocations: 0.9084 MB / 0.5579 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.1792, allocations: 0.8699 MB / 0.5587 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.1796, allocations: 83.28 kB / 0.5588 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.1797, allocations: 27.44 kB / 0.5588 GB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.366e-06/0.1797, allocations: 0 / 0.5588 GB, free: 15.89 MB / 430.1 MB Notification: Performance of Templates: time 0.01725/0.197, allocations: 8.584 MB / 0.5672 GB, free: 7.391 MB / 430.1 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.0.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: 5.385152532719076]