Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.00128/0.00128, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001428/0.001428, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.9 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 65.47 MB / 0.5583 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003604/0.3282, allocations: 2.117 MB / 0.5603 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3305, allocations: 1.347 MB / 0.5617 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3306, allocations: 4 kB / 0.5617 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3309, allocations: 67.59 kB / 0.5617 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.3311, allocations: 95.38 kB / 0.5618 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.3318, allocations: 203.2 kB / 0.562 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.3323, allocations: 430 kB / 0.5624 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.3324, allocations: 16.92 kB / 0.5624 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.3326, allocations: 159.2 kB / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3329, allocations: 175 kB / 0.5628 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3329, allocations: 12 kB / 0.5628 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.3334, allocations: 275.6 kB / 0.563 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3335, allocations: 83.55 kB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3337, allocations: 166.9 kB / 0.5633 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.3344, allocations: 0.5274 MB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3344, allocations: 0 / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3344, allocations: 0 / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3344, allocations: 0 / 0.5638 GB, free: 1.887 MB / 398.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.001236/0.3356, allocations: 0.6647 MB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3357, allocations: 8.031 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/0.3361, allocations: 72.62 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3365, allocations: 238.7 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3365, allocations: 29 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.3366, allocations: 36 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.3375, allocations: 0.5574 MB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3375, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.3375, allocations: 16 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.3376, allocations: 17 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.3384, allocations: 423.6 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.3403, allocations: 1.238 MB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3409, allocations: 271.6 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.3412, allocations: 138.4 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.3413, allocations: 11.92 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3413, allocations: 34.56 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.3413, allocations: 4.109 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001227/0.3425, allocations: 469.1 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3426, allocations: 110.8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.3432, allocations: 0.4979 MB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3432, allocations: 29.7 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3434, allocations: 204.3 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.3435, allocations: 67.42 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3436, allocations: 65.69 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3438, allocations: 358.8 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3441, allocations: 128.1 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.3445, allocations: 214.6 kB / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.3452, allocations: 364.7 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3453, allocations: 0 / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008983/0.3461, allocations: 425.1 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3462, allocations: 14.28 kB / 0.5703 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.936e-05/0.3462, allocations: 31.98 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3463, allocations: 4 kB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3465, allocations: 35.91 kB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3465, allocations: 7.938 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3467, allocations: 51.64 kB / 0.5704 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.3468, allocations: 20.06 kB / 0.5704 GB, free: 10.79 MB / 414.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.0002496/0.347, allocations: 197.7 kB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3471, allocations: 47.66 kB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/0.348, allocations: 392.7 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.348, allocations: 11.98 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.348, allocations: 0 / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.348, allocations: 0 / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.3486, allocations: 340.4 kB / 0.5713 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.355e-05/0.3486, allocations: 39.98 kB / 0.5714 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3488, allocations: 23.97 kB / 0.5714 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.3488, allocations: 3.938 kB / 0.5714 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3488, allocations: 12 kB / 0.5714 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3488, allocations: 0 / 0.5714 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3488, allocations: 4 kB / 0.5714 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.3497, allocations: 0.5757 MB / 0.572 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.3498, allocations: 47.69 kB / 0.572 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.3498, allocations: 7.938 kB / 0.572 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3501, allocations: 19.97 kB / 0.5721 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.3502, allocations: 23.97 kB / 0.5721 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3502, allocations: 8 kB / 0.5721 GB, free: 8.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004162/0.3506, allocations: 363.1 kB / 0.5724 GB, free: 8.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3506, allocations: 4 kB / 0.5724 GB, free: 8.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.3512, allocations: 123.7 kB / 0.5726 GB, free: 8.504 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 (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.0003419/0.3515, allocations: 174.9 kB / 0.5727 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009337/0.3525, allocations: 0.534 MB / 0.5732 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3525, allocations: 0 / 0.5732 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.353, allocations: 391.8 kB / 0.5736 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.3536, allocations: 97.95 kB / 0.5737 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.355, allocations: 0.8084 MB / 0.5745 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.3555, allocations: 0.8419 MB / 0.5753 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.3556, allocations: 27.42 kB / 0.5754 GB, free: 5.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3556, allocations: 0 / 0.5754 GB, free: 5.461 MB / 414.1 MB Notification: Performance of Templates: time 0.01132/0.3669, allocations: 7.478 MB / 0.5827 GB, free: 14.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.193891623988748]