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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 112.8 kB / 17.77 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 180.9 kB / 18.7 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3273, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002938/0.3303, allocations: 2.075 MB / 0.5209 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.332, allocations: 1.258 MB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.3321, allocations: 2.188 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.3324, allocations: 69.48 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3326, allocations: 84.7 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.3332, allocations: 190.1 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.3337, allocations: 432.2 kB / 0.5229 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.3338, allocations: 47.66 kB / 0.523 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.334, allocations: 147.6 kB / 0.5231 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3342, allocations: 174.2 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.3343, allocations: 12.12 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.3348, allocations: 261.2 kB / 0.5235 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3349, allocations: 86.59 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.335, allocations: 163.8 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.3357, allocations: 0.5194 MB / 0.5243 GB, free: 356 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3357, allocations: 0.5156 kB / 0.5243 GB, free: 356 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3357, allocations: 0 / 0.5243 GB, free: 356 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3357, allocations: 0 / 0.5243 GB, free: 356 kB / 382.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.00104/0.3367, allocations: 0.7213 MB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3368, allocations: 13.62 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.3369, allocations: 45.28 kB / 0.525 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3372, allocations: 285.2 kB / 0.5253 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3372, allocations: 27.88 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.3373, allocations: 44.38 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.3382, allocations: 0.5544 MB / 0.5259 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3383, allocations: 4 kB / 0.5259 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.3383, allocations: 16.03 kB / 0.5259 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.3383, allocations: 17.28 kB / 0.5259 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.3391, allocations: 413.6 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3408, allocations: 1.286 MB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3414, allocations: 275.7 kB / 0.5279 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.3417, allocations: 145.6 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.3418, allocations: 12.44 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3418, allocations: 36.28 kB / 0.528 GB, free: 13.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.522e-06/0.3418, allocations: 0 / 0.528 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00114/0.3429, allocations: 470 kB / 0.5285 GB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.343, allocations: 111.9 kB / 0.5286 GB, free: 13.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.3435, allocations: 0.4913 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3436, allocations: 38.77 kB / 0.5291 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3437, allocations: 201.6 kB / 0.5293 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.3438, allocations: 58.98 kB / 0.5294 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3439, allocations: 64.12 kB / 0.5294 GB, free: 12.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3441, allocations: 351 kB / 0.5298 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.3444, allocations: 131.3 kB / 0.5299 GB, free: 12.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.3448, allocations: 218.6 kB / 0.5301 GB, free: 12.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.3455, allocations: 358.2 kB / 0.5304 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3455, allocations: 1.5 kB / 0.5304 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009008/0.3465, allocations: 433.2 kB / 0.5308 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3465, allocations: 14.06 kB / 0.5309 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/0.3466, allocations: 28.09 kB / 0.5309 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3466, allocations: 3.844 kB / 0.5309 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3468, allocations: 37.23 kB / 0.5309 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3468, allocations: 8.125 kB / 0.5309 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.3471, allocations: 51.88 kB / 0.531 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.3472, allocations: 24.09 kB / 0.531 GB, free: 11.88 MB / 398.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.0002327/0.3474, allocations: 189.7 kB / 0.5312 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3475, allocations: 46.22 kB / 0.5312 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.3484, allocations: 404.5 kB / 0.5316 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3484, allocations: 3.438 kB / 0.5316 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3484, allocations: 5.156 kB / 0.5316 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3484, allocations: 5.078 kB / 0.5316 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.3491, allocations: 365.3 kB / 0.532 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.024e-05/0.3491, allocations: 33.28 kB / 0.532 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3493, allocations: 28.88 kB / 0.532 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3493, allocations: 9.172 kB / 0.532 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3493, allocations: 10.5 kB / 0.5321 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3493, allocations: 1.094 kB / 0.5321 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3493, allocations: 5.062 kB / 0.5321 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.3502, allocations: 0.5717 MB / 0.5326 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3503, allocations: 124.5 kB / 0.5327 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.3504, allocations: 1.031 kB / 0.5327 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3507, allocations: 22.75 kB / 0.5328 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.3508, allocations: 22.98 kB / 0.5328 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3508, allocations: 7.594 kB / 0.5328 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.3512, allocations: 364 kB / 0.5331 GB, free: 10.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3512, allocations: 1.219 kB / 0.5331 GB, free: 10.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.3519, allocations: 126.8 kB / 0.5333 GB, free: 10.35 MB / 398.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.0003615/0.3522, allocations: 182.5 kB / 0.5334 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.3532, allocations: 0.5357 MB / 0.534 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3532, allocations: 1.031 kB / 0.534 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.3537, allocations: 391.3 kB / 0.5343 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.3544, allocations: 105.9 kB / 0.5344 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3558, allocations: 0.7796 MB / 0.5352 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3563, allocations: 0.8531 MB / 0.536 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3565, allocations: 65.78 kB / 0.5361 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.3566, allocations: 24.47 kB / 0.5361 GB, free: 8.133 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3566, allocations: 0 / 0.5361 GB, free: 8.133 MB / 398.1 MB Notification: Performance of Templates: time 0.01307/0.3697, allocations: 7.624 MB / 0.5436 GB, free: 2.301 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches