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.001354/0.001354, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001455/0.001455, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2277/0.2277, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.002061/0.002061, allocations: 63.91 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3134, allocations: 65.47 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003676/0.3171, allocations: 2.016 MB / 0.5602 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3193, allocations: 1.207 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3195, allocations: 0 / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3198, allocations: 67.61 kB / 0.5614 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.32, allocations: 87.38 kB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.3207, allocations: 211.2 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.3212, allocations: 429.9 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.727e-05/0.3213, allocations: 20.92 kB / 0.5621 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.3216, allocations: 151.2 kB / 0.5623 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3218, allocations: 179 kB / 0.5625 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.3219, allocations: 15.94 kB / 0.5625 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.3223, allocations: 203.7 kB / 0.5627 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3224, allocations: 83.55 kB / 0.5628 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3226, allocations: 127.2 kB / 0.5629 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.3232, allocations: 0.5196 MB / 0.5634 GB, free: 2.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3232, allocations: 4 kB / 0.5634 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3233, allocations: 0 / 0.5634 GB, free: 2.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3233, allocations: 4 kB / 0.5634 GB, free: 2.16 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.001225/0.3245, allocations: 0.6492 MB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3245, allocations: 12.03 kB / 0.564 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3249, allocations: 76.61 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3254, allocations: 238.6 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3254, allocations: 36.94 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3254, allocations: 36 kB / 0.5644 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.3264, allocations: 0.5496 MB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3264, allocations: 0 / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.3265, allocations: 19.94 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.3265, allocations: 17 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.3273, allocations: 419.6 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.3291, allocations: 1.067 MB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.3297, allocations: 271.5 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.33, allocations: 138.5 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.3301, allocations: 4 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3301, allocations: 34.56 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.3301, allocations: 0 / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001203/0.3313, allocations: 456 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.3314, allocations: 110.8 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.3317, allocations: 244.8 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3317, allocations: 29.64 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3319, allocations: 228.3 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.3319, allocations: 59.53 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.332, allocations: 65.69 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3322, allocations: 334.8 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3325, allocations: 132.1 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.3329, allocations: 210.6 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.3337, allocations: 365.8 kB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3337, allocations: 4 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008847/0.3346, allocations: 403.9 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3346, allocations: 8 kB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-05/0.3347, allocations: 31.98 kB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3347, allocations: 7.938 kB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3349, allocations: 40.25 kB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.3349, allocations: 11.97 kB / 0.5695 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3351, allocations: 27.88 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3352, allocations: 16 kB / 0.5695 GB, free: 11.59 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.0002599/0.3354, allocations: 201.7 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.3355, allocations: 19.86 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.3363, allocations: 387 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3363, allocations: 7.938 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3364, allocations: 0 / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3364, allocations: 3.984 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.3368, allocations: 277.1 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.698e-05/0.3369, allocations: 35.98 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.3371, allocations: 27.97 kB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3371, allocations: 0 / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3371, allocations: 8 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3371, allocations: 3.938 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3371, allocations: 7.984 kB / 0.5704 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.338, allocations: 0.5586 MB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.338, allocations: 23.86 kB / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.3381, allocations: 7.938 kB / 0.571 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3383, allocations: 23.97 kB / 0.571 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.3384, allocations: 15.98 kB / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3384, allocations: 12 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.3386, allocations: 172.5 kB / 0.5712 GB, free: 9.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3386, allocations: 3.938 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000599/0.3392, allocations: 147.5 kB / 0.5714 GB, free: 9.609 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.0003519/0.3395, allocations: 171 kB / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009635/0.3405, allocations: 0.5379 MB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3405, allocations: 0 / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.341, allocations: 387.8 kB / 0.5724 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.3416, allocations: 38.14 kB / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.343, allocations: 0.7537 MB / 0.5732 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3432, allocations: 240.2 kB / 0.5734 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.3433, allocations: 19.42 kB / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3433, allocations: 0 / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Templates: time 0.009675/0.353, allocations: 6.127 MB / 0.5794 GB, free: 1.18 MB / 414.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: 7.970154234208167]