Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.001381/0.001381, allocations: 122.5 kB / 18.5 MB, free: 4.52 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: 215.2 kB / 21.46 MB, free: 1.566 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.496/1.496, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.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.2422/0.2422, allocations: 46.89 MB / 357.4 MB, free: 10.57 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.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 79.86 kB / 0.4917 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1441, allocations: 66 MB / 0.5562 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003547/0.1476, allocations: 2.097 MB / 0.5582 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1498, allocations: 1.336 MB / 0.5595 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.1499, allocations: 0 / 0.5595 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1502, allocations: 67.59 kB / 0.5596 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1504, allocations: 95.38 kB / 0.5597 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1511, allocations: 199.2 kB / 0.5599 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.1516, allocations: 434 kB / 0.5603 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.1517, allocations: 32.73 kB / 0.5603 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1519, allocations: 155.2 kB / 0.5605 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1522, allocations: 179 kB / 0.5607 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1522, allocations: 16 kB / 0.5607 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1527, allocations: 271.6 kB / 0.5609 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1528, allocations: 79.55 kB / 0.561 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.1529, allocations: 162.9 kB / 0.5612 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.1536, allocations: 0.529 MB / 0.5617 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1536, allocations: 0 / 0.5617 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1536, allocations: 0 / 0.5617 GB, free: 244 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1536, allocations: 0 / 0.5617 GB, free: 244 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001265/0.1549, allocations: 0.729 MB / 0.5624 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1549, allocations: 12.03 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.1553, allocations: 80.56 kB / 0.5625 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1557, allocations: 287.9 kB / 0.5628 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1557, allocations: 29 kB / 0.5628 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.1558, allocations: 40 kB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/0.1568, allocations: 0.5573 MB / 0.5634 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1568, allocations: 4 kB / 0.5634 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1568, allocations: 12 kB / 0.5634 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.1569, allocations: 17 kB / 0.5634 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.1578, allocations: 419.6 kB / 0.5638 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1597, allocations: 1.282 MB / 0.565 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1603, allocations: 275.5 kB / 0.5653 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.1606, allocations: 130.5 kB / 0.5654 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.1607, allocations: 15.88 kB / 0.5654 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.1607, allocations: 38.56 kB / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1607, allocations: 112 / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001235/0.1619, allocations: 466.7 kB / 0.5659 GB, free: 11.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.162, allocations: 102.8 kB / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1626, allocations: 0.4978 MB / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1626, allocations: 29.7 kB / 0.5665 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1628, allocations: 212.4 kB / 0.5667 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.1629, allocations: 63.47 kB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.163, allocations: 69.72 kB / 0.5669 GB, free: 10.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1632, allocations: 354.8 kB / 0.5672 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1635, allocations: 128.1 kB / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.1639, allocations: 214.6 kB / 0.5675 GB, free: 9.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.1646, allocations: 365.9 kB / 0.5679 GB, free: 9.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1647, allocations: 0 / 0.5679 GB, free: 9.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009257/0.1656, allocations: 427.2 kB / 0.5683 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1656, allocations: 10.19 kB / 0.5683 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/0.1657, allocations: 35.98 kB / 0.5683 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1657, allocations: 4 kB / 0.5683 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1659, allocations: 31.91 kB / 0.5684 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.1659, allocations: 15.91 kB / 0.5684 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.1662, allocations: 55.94 kB / 0.5684 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.1662, allocations: 16 kB / 0.5685 GB, free: 8.938 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002626/0.1665, allocations: 197.7 kB / 0.5686 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1666, allocations: 43.66 kB / 0.5687 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.1675, allocations: 396.8 kB / 0.5691 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1675, allocations: 4 kB / 0.5691 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1675, allocations: 0 / 0.5691 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1675, allocations: 4 kB / 0.5691 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.1681, allocations: 365.3 kB / 0.5694 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/0.1682, allocations: 31.98 kB / 0.5695 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1683, allocations: 27.97 kB / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1683, allocations: 0 / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.1684, allocations: 23.97 kB / 0.5695 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1684, allocations: 0 / 0.5695 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1684, allocations: 7.938 kB / 0.5695 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.1693, allocations: 0.5888 MB / 0.5701 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.1695, allocations: 116.8 kB / 0.5702 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.1695, allocations: 8 kB / 0.5702 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1698, allocations: 11.98 kB / 0.5702 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1699, allocations: 23.97 kB / 0.5702 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.17, allocations: 12 kB / 0.5702 GB, free: 6.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.1704, allocations: 367 kB / 0.5706 GB, free: 6.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1704, allocations: 4 kB / 0.5706 GB, free: 6.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005976/0.171, allocations: 123.7 kB / 0.5707 GB, free: 6.512 MB / 430.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004041/0.1714, allocations: 174.9 kB / 0.5709 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.1724, allocations: 0.5346 MB / 0.5714 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1724, allocations: 64 / 0.5714 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.1729, allocations: 387.5 kB / 0.5718 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.1736, allocations: 97.67 kB / 0.5719 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1751, allocations: 0.7899 MB / 0.5726 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.1756, allocations: 0.8497 MB / 0.5735 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.1758, allocations: 71.22 kB / 0.5735 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.1758, allocations: 23.44 kB / 0.5736 GB, free: 3.426 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1758, allocations: 0 / 0.5736 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Templates: time 0.01455/0.1904, allocations: 7.666 MB / 0.581 GB, free: 11.84 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.75145195517689]