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.001782/0.001782, allocations: 75.28 kB / 21.24 MB, free: 0.543 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.002355/0.002355, allocations: 162 kB / 24.5 MB, free: 3.719 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.529/1.529, allocations: 177.1 MB / 204.7 MB, free: 9.004 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.2085/0.2085, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.002431/0.002431, allocations: 87.86 kB / 443.2 MB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3329, allocations: 66.05 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.0027/0.3356, allocations: 2.028 MB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3373, allocations: 1.204 MB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3374, allocations: 3.125 kB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.3378, allocations: 65.72 kB / 0.5005 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.338, allocations: 88.42 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.3389, allocations: 213.9 kB / 0.5008 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.3395, allocations: 431.3 kB / 0.5012 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.3395, allocations: 14.28 kB / 0.5012 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3398, allocations: 161.3 kB / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.34, allocations: 175.9 kB / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.34, allocations: 11.97 kB / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.3404, allocations: 200.5 kB / 0.5018 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.3405, allocations: 89.98 kB / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3406, allocations: 127.8 kB / 0.502 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.3411, allocations: 0.5157 MB / 0.5025 GB, free: 26.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3412, allocations: 0 / 0.5025 GB, free: 26.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3412, allocations: 0 / 0.5025 GB, free: 26.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3412, allocations: 3.219 kB / 0.5025 GB, free: 26.8 MB / 446.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.0009655/0.3421, allocations: 0.6585 MB / 0.5031 GB, free: 26.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3422, allocations: 9.469 kB / 0.5031 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.3425, allocations: 77.81 kB / 0.5032 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3428, allocations: 240.9 kB / 0.5034 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3429, allocations: 27 kB / 0.5035 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.3429, allocations: 45.34 kB / 0.5035 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.3436, allocations: 0.5509 MB / 0.504 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3437, allocations: 2.938 kB / 0.504 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.3437, allocations: 14.91 kB / 0.5041 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.3437, allocations: 15.03 kB / 0.5041 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.3444, allocations: 415.2 kB / 0.5045 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3458, allocations: 1.072 MB / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.3462, allocations: 262.2 kB / 0.5058 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3465, allocations: 136.5 kB / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.3466, allocations: 13.08 kB / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3466, allocations: 37.5 kB / 0.5059 GB, free: 24.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.3466, allocations: 0 / 0.5059 GB, free: 24.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001044/0.3476, allocations: 451 kB / 0.5064 GB, free: 24.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3477, allocations: 110 kB / 0.5065 GB, free: 24.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3478, allocations: 245.4 kB / 0.5067 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3479, allocations: 28.92 kB / 0.5067 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.348, allocations: 232.5 kB / 0.507 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.348, allocations: 59.03 kB / 0.507 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.3481, allocations: 59.98 kB / 0.5071 GB, free: 24.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.3481, allocations: 331.2 kB / 0.5074 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.3484, allocations: 133.5 kB / 0.5075 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3487, allocations: 208.2 kB / 0.5077 GB, free: 23.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.3494, allocations: 374.2 kB / 0.5081 GB, free: 23.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3494, allocations: 0 / 0.5081 GB, free: 23.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007319/0.3501, allocations: 401.1 kB / 0.5085 GB, free: 23.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3501, allocations: 5.938 kB / 0.5085 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.852e-05/0.3502, allocations: 32.06 kB / 0.5085 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.3502, allocations: 9.656 kB / 0.5085 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3504, allocations: 39.27 kB / 0.5085 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3504, allocations: 3 kB / 0.5085 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3506, allocations: 33.27 kB / 0.5086 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.3506, allocations: 19.08 kB / 0.5086 GB, free: 23.51 MB / 446.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.0001638/0.3508, allocations: 201.1 kB / 0.5088 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.3508, allocations: 24.83 kB / 0.5088 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.3515, allocations: 391.9 kB / 0.5092 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.3515, allocations: 7.047 kB / 0.5092 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3515, allocations: 3.938 kB / 0.5092 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3515, allocations: 2.969 kB / 0.5092 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.3519, allocations: 283.9 kB / 0.5095 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/0.3519, allocations: 33.75 kB / 0.5095 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3521, allocations: 25.59 kB / 0.5095 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3521, allocations: 4 kB / 0.5095 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3521, allocations: 10.06 kB / 0.5095 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3521, allocations: 6.906 kB / 0.5095 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3521, allocations: 0 / 0.5095 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.3529, allocations: 0.5602 MB / 0.5101 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3529, allocations: 21.39 kB / 0.5101 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.353, allocations: 5.781 kB / 0.5101 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3532, allocations: 24.89 kB / 0.5101 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.3533, allocations: 20.14 kB / 0.5102 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.3534, allocations: 9.031 kB / 0.5102 GB, free: 22.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3535, allocations: 173 kB / 0.5103 GB, free: 22.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 0 / 0.5103 GB, free: 22.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007316/0.3542, allocations: 143.4 kB / 0.5105 GB, free: 22.52 MB / 446.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.0003526/0.3546, allocations: 170.5 kB / 0.5106 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3556, allocations: 0.543 MB / 0.5112 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3556, allocations: 0 / 0.5112 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.3561, allocations: 385.8 kB / 0.5115 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3566, allocations: 34.59 kB / 0.5116 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3581, allocations: 0.7441 MB / 0.5123 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3583, allocations: 247.2 kB / 0.5125 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3584, allocations: 34.2 kB / 0.5126 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.3585, allocations: 21.58 kB / 0.5126 GB, free: 21.27 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3585, allocations: 0 / 0.5126 GB, free: 21.27 MB / 446.1 MB Notification: Performance of Templates: time 0.01152/0.37, allocations: 5.204 MB / 0.5177 GB, free: 20.65 MB / 446.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 -s ida -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: 5.322684080107138]