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.001839/0.001839, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.00237/0.00237, allocations: 166.1 kB / 23.96 MB, free: 4.137 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.541/1.541, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 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.2168/0.2168, allocations: 34.26 MB / 294.8 MB, free: 14.53 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 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.049e-05, allocations: 2.281 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003695/0.003725, allocations: 2.031 MB / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.006052, allocations: 1.203 MB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.006159, allocations: 4 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.006518, allocations: 67.59 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.006733, allocations: 91.31 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.007404, allocations: 211.1 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.007961, allocations: 449.7 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.008035, allocations: 20.92 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.008387, allocations: 195.3 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.008645, allocations: 143.5 kB / 447.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.008688, allocations: 12 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.009108, allocations: 203.7 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.009232, allocations: 99.47 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.009375, allocations: 95.66 kB / 447.5 MB, free: 476 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2167/0.2261, allocations: 0.5173 MB / 448 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2261, allocations: 0.9062 kB / 448 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2261, allocations: 0 / 448 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.2261, allocations: 0 / 448 MB, free: 15.85 MB / 366.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.001139/0.2273, allocations: 0.6495 MB / 448.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2273, allocations: 9.609 kB / 448.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.2277, allocations: 80.39 kB / 448.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.228, allocations: 234.1 kB / 449 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.228, allocations: 28.25 kB / 449 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.2281, allocations: 36.19 kB / 449 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.229, allocations: 0.5654 MB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.229, allocations: 3.5 kB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.229, allocations: 15.44 kB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.229, allocations: 18.62 kB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.2298, allocations: 414.8 kB / 450 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.2313, allocations: 1.06 MB / 451.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.2318, allocations: 271.3 kB / 451.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.2321, allocations: 135.4 kB / 451.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.2321, allocations: 12.02 kB / 451.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2322, allocations: 38.47 kB / 451.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.2322, allocations: 0 / 451.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001161/0.2333, allocations: 441.9 kB / 452 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2334, allocations: 108.8 kB / 452.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2336, allocations: 249 kB / 452.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2336, allocations: 33.23 kB / 452.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.2337, allocations: 232.7 kB / 452.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.2337, allocations: 61.86 kB / 452.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.2338, allocations: 63.02 kB / 452.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.2339, allocations: 338.7 kB / 453 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.2342, allocations: 128.3 kB / 453.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2346, allocations: 219.8 kB / 453.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.2353, allocations: 361.2 kB / 453.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2353, allocations: 1.406 kB / 453.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008461/0.2361, allocations: 403.3 kB / 454.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2362, allocations: 6.516 kB / 454.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-05/0.2362, allocations: 30.48 kB / 454.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2362, allocations: 5.062 kB / 454.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2364, allocations: 41.55 kB / 454.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2365, allocations: 5.031 kB / 454.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2367, allocations: 33.72 kB / 454.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2367, allocations: 18.95 kB / 454.3 MB, free: 13.5 MB / 366.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.0001914/0.2369, allocations: 197.5 kB / 454.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.237, allocations: 21.52 kB / 454.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/0.2378, allocations: 389.3 kB / 454.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2378, allocations: 8.453 kB / 454.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2378, allocations: 0 / 454.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2378, allocations: 2.859 kB / 454.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.2382, allocations: 288.5 kB / 455.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.569e-05/0.2383, allocations: 32.38 kB / 455.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2384, allocations: 28.02 kB / 455.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2384, allocations: 2.375 kB / 455.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.2385, allocations: 10 kB / 455.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2385, allocations: 4.453 kB / 455.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2385, allocations: 1.719 kB / 455.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.2392, allocations: 0.5612 MB / 455.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.2393, allocations: 27.67 kB / 455.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.2393, allocations: 5.125 kB / 455.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.2396, allocations: 16.86 kB / 455.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.2397, allocations: 23.97 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2397, allocations: 13.34 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2398, allocations: 170.5 kB / 456 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2398, allocations: 0 / 456 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.2404, allocations: 142.4 kB / 456.2 MB, free: 12.56 MB / 366.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.0003097/0.2407, allocations: 181.3 kB / 456.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.2415, allocations: 0.5385 MB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2415, allocations: 1.219 kB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.242, allocations: 385.9 kB / 457.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2425, allocations: 38.88 kB / 457.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2437, allocations: 0.7153 MB / 458 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2439, allocations: 245.5 kB / 458.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.244, allocations: 39.06 kB / 458.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.2441, allocations: 17.73 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2441, allocations: 0 / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01337/0.2574, allocations: 5.208 MB / 463.5 MB, free: 10.78 MB / 366.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.1.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.240466944873333]