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.00134/0.00134, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001476/0.001476, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.505/1.505, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.2303/0.2303, allocations: 46.95 MB / 361.6 MB, free: 3.961 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.002473/0.002473, allocations: 87.86 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.313, allocations: 66.09 MB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003522/0.3165, allocations: 2.016 MB / 0.5639 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.319, allocations: 1.196 MB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.3191, allocations: 7.938 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.3195, allocations: 67.61 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.3198, allocations: 87.44 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.3206, allocations: 211.2 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.3212, allocations: 430 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.3212, allocations: 20.88 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.3215, allocations: 159.2 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3218, allocations: 175 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.3218, allocations: 12 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3222, allocations: 195.7 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3223, allocations: 95.48 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3225, allocations: 131.1 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.3231, allocations: 0.5119 MB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3231, allocations: 3.984 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3231, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3231, allocations: 0 / 0.5671 GB, free: 14.7 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00117/0.3243, allocations: 0.6569 MB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3244, allocations: 8.031 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.3247, allocations: 84.61 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3252, allocations: 234.7 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3252, allocations: 25 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3253, allocations: 36 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009199/0.3262, allocations: 0.5574 MB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3262, allocations: 0 / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.3262, allocations: 23.98 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.3263, allocations: 20.98 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.3271, allocations: 407.6 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3289, allocations: 1.067 MB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.3295, allocations: 271.6 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.3298, allocations: 134.5 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.3298, allocations: 4 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3299, allocations: 46.48 kB / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/0.3299, allocations: 0 / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00121/0.3311, allocations: 451.6 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3312, allocations: 102.8 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.3314, allocations: 252.8 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3315, allocations: 29.69 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3316, allocations: 232.3 kB / 0.5716 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.3317, allocations: 59.53 kB / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3318, allocations: 61.86 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.332, allocations: 334.8 kB / 0.572 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3323, allocations: 132.1 kB / 0.5721 GB, free: 9.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.3327, allocations: 210.6 kB / 0.5724 GB, free: 9.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.3335, allocations: 365.9 kB / 0.5727 GB, free: 8.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3335, allocations: 3.938 kB / 0.5727 GB, free: 8.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009271/0.3344, allocations: 397.3 kB / 0.5731 GB, free: 8.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3344, allocations: 11.98 kB / 0.5731 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.9e-05/0.3345, allocations: 35.94 kB / 0.5731 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3345, allocations: 7.938 kB / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.3347, allocations: 31.95 kB / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3348, allocations: 7.938 kB / 0.5732 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3349, allocations: 35.81 kB / 0.5732 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.335, allocations: 19.98 kB / 0.5732 GB, free: 8.117 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.0002529/0.3352, allocations: 193.8 kB / 0.5734 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.3353, allocations: 23.86 kB / 0.5734 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.3362, allocations: 385.9 kB / 0.5738 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3362, allocations: 7.984 kB / 0.5738 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3362, allocations: 8 kB / 0.5738 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3362, allocations: 4 kB / 0.5738 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.3367, allocations: 281.1 kB / 0.5741 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.115e-05/0.3367, allocations: 28 kB / 0.5741 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3369, allocations: 23.97 kB / 0.5741 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3369, allocations: 4 kB / 0.5741 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3369, allocations: 11.98 kB / 0.5742 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.3369, allocations: 7.938 kB / 0.5742 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3369, allocations: 3.938 kB / 0.5742 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.3378, allocations: 0.5588 MB / 0.5747 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.3379, allocations: 19.86 kB / 0.5747 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3379, allocations: 7.938 kB / 0.5747 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3382, allocations: 19.97 kB / 0.5748 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.3383, allocations: 19.98 kB / 0.5748 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3383, allocations: 11.98 kB / 0.5748 GB, free: 6.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3385, allocations: 172.5 kB / 0.575 GB, free: 6.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 4 kB / 0.575 GB, free: 6.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006029/0.3391, allocations: 139.5 kB / 0.5751 GB, free: 6.156 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.000358/0.3394, allocations: 183 kB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.3404, allocations: 0.5385 MB / 0.5758 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3404, allocations: 64 / 0.5758 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.3409, allocations: 391.1 kB / 0.5762 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.3414, allocations: 28.36 kB / 0.5762 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3429, allocations: 0.7648 MB / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3432, allocations: 236.2 kB / 0.5772 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.3432, allocations: 19.44 kB / 0.5772 GB, free: 3.836 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3432, allocations: 0 / 0.5772 GB, free: 3.836 MB / 414.1 MB Notification: Performance of Templates: time 0.009633/0.3529, allocations: 6.134 MB / 0.5832 GB, free: 13.7 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/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: 7.954696493688971]