Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00183/0.00183, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002107/0.002107, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 46.97 MB / 361.6 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.88 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003533/0.3427, allocations: 2.016 MB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3448, allocations: 1.2 MB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.3449, allocations: 4 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3452, allocations: 71.55 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3454, allocations: 91.44 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.3461, allocations: 207.2 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.3466, allocations: 430 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.3466, allocations: 20.92 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.3469, allocations: 151.3 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.3471, allocations: 183 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3472, allocations: 12 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.3475, allocations: 203.8 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3476, allocations: 99.45 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3478, allocations: 123.2 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.3484, allocations: 0.5197 MB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3484, allocations: 3.938 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3484, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.3485, allocations: 4 kB / 0.567 GB, free: 14.84 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.001197/0.3497, allocations: 0.6492 MB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3497, allocations: 12.02 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.3501, allocations: 80.62 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3505, allocations: 242.6 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3505, allocations: 29 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.3506, allocations: 39.98 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.3515, allocations: 0.5496 MB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3515, allocations: 3.938 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.3516, allocations: 20 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.3516, allocations: 17 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.3524, allocations: 411.6 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.3542, allocations: 1.067 MB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.3548, allocations: 267.6 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.3551, allocations: 138.4 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.3552, allocations: 4 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3552, allocations: 34.56 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.3552, allocations: 0 / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001322/0.3565, allocations: 459.8 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.3566, allocations: 110.8 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.3569, allocations: 248.8 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3569, allocations: 25.7 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3571, allocations: 228.3 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.3572, allocations: 59.69 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3573, allocations: 65.69 kB / 0.5716 GB, free: 9.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3575, allocations: 338.8 kB / 0.5719 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.3579, allocations: 128.1 kB / 0.5721 GB, free: 9.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.3583, allocations: 210.6 kB / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.359, allocations: 369.9 kB / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.359, allocations: 0 / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008641/0.3599, allocations: 401.4 kB / 0.573 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3599, allocations: 4 kB / 0.573 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-05/0.3599, allocations: 31.98 kB / 0.573 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.36, allocations: 7.938 kB / 0.573 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3602, allocations: 39.91 kB / 0.5731 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3602, allocations: 4 kB / 0.5731 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3604, allocations: 31.86 kB / 0.5731 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.3604, allocations: 15.94 kB / 0.5731 GB, free: 8.266 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.0002339/0.3606, allocations: 209.7 kB / 0.5733 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.3607, allocations: 19.86 kB / 0.5733 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.3616, allocations: 393.8 kB / 0.5737 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3616, allocations: 4 kB / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3616, allocations: 0 / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3616, allocations: 7.984 kB / 0.5737 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.3621, allocations: 277.1 kB / 0.574 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-05/0.3622, allocations: 35.98 kB / 0.574 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.3623, allocations: 23.97 kB / 0.5741 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3623, allocations: 3.984 kB / 0.5741 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3624, allocations: 8 kB / 0.5741 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3624, allocations: 7.938 kB / 0.5741 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3624, allocations: 0 / 0.5741 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.3633, allocations: 0.568 MB / 0.5746 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.3633, allocations: 19.86 kB / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3634, allocations: 7.938 kB / 0.5747 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3636, allocations: 11.98 kB / 0.5747 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.3637, allocations: 23.97 kB / 0.5747 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3637, allocations: 12 kB / 0.5747 GB, free: 6.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3639, allocations: 172.5 kB / 0.5749 GB, free: 6.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 4 kB / 0.5749 GB, free: 6.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000611/0.3645, allocations: 147.5 kB / 0.575 GB, free: 6.281 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.0003867/0.3649, allocations: 166.9 kB / 0.5752 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.366, allocations: 0.5391 MB / 0.5757 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.366, allocations: 4.062 kB / 0.5757 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.3665, allocations: 383.1 kB / 0.5761 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.367, allocations: 30.58 kB / 0.5761 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3685, allocations: 0.7482 MB / 0.5768 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3688, allocations: 240.2 kB / 0.5771 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3689, allocations: 29.47 kB / 0.5771 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.369, allocations: 23.42 kB / 0.5771 GB, free: 3.965 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.369, allocations: 0 / 0.5771 GB, free: 3.965 MB / 414.1 MB Notification: Performance of Templates: time 0.01063/0.3796, allocations: 5.677 MB / 0.5826 GB, free: 14.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 5.199012048004079]