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.001077/0.001077, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001164/0.001164, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.268/1.268, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1923/0.1923, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002891/0.3057, allocations: 2.074 MB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3075, allocations: 1.257 MB / 0.5228 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.3076, allocations: 6.531 kB / 0.5228 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.308, allocations: 65.38 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.3081, allocations: 88.84 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.3087, allocations: 189.8 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.3092, allocations: 435.6 kB / 0.5236 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.3093, allocations: 51.36 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3095, allocations: 148.3 kB / 0.5238 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.3097, allocations: 174.7 kB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.3097, allocations: 12.66 kB / 0.524 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.3102, allocations: 255.8 kB / 0.5242 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3103, allocations: 89.25 kB / 0.5243 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3104, allocations: 160.8 kB / 0.5244 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006414/0.3111, allocations: 0.5125 MB / 0.5249 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3111, allocations: 0 / 0.5249 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3111, allocations: 4.562 kB / 0.5249 GB, free: 376 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3111, allocations: 0 / 0.5249 GB, free: 376 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.001169/0.3123, allocations: 0.7156 MB / 0.5256 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3123, allocations: 8.406 kB / 0.5256 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.3124, allocations: 44.88 kB / 0.5257 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3128, allocations: 289.4 kB / 0.526 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.3128, allocations: 40.28 kB / 0.526 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3129, allocations: 37.83 kB / 0.526 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.3138, allocations: 0.5502 MB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3139, allocations: 0 / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3139, allocations: 14.75 kB / 0.5266 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.3139, allocations: 19.09 kB / 0.5266 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.3147, allocations: 417.7 kB / 0.527 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3165, allocations: 1.269 MB / 0.5282 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.3171, allocations: 276.7 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.3174, allocations: 145.1 kB / 0.5286 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.3175, allocations: 4.938 kB / 0.5287 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.3175, allocations: 36.22 kB / 0.5287 GB, free: 13.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.953e-06/0.3175, allocations: 0 / 0.5287 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.3187, allocations: 469.3 kB / 0.5291 GB, free: 13.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3188, allocations: 109.2 kB / 0.5292 GB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.3193, allocations: 0.4899 MB / 0.5297 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3193, allocations: 30.91 kB / 0.5297 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3195, allocations: 209.8 kB / 0.5299 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.3196, allocations: 62.98 kB / 0.53 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3197, allocations: 63.64 kB / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3199, allocations: 358.6 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.3202, allocations: 134.8 kB / 0.5305 GB, free: 12.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.3205, allocations: 211.6 kB / 0.5307 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.3213, allocations: 364.7 kB / 0.5311 GB, free: 12.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3213, allocations: 4.938 kB / 0.5311 GB, free: 12.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008566/0.3221, allocations: 422.3 kB / 0.5315 GB, free: 11.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3222, allocations: 9.406 kB / 0.5315 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/0.3222, allocations: 33.3 kB / 0.5315 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3223, allocations: 4.562 kB / 0.5315 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3225, allocations: 35.97 kB / 0.5316 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3225, allocations: 7.938 kB / 0.5316 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.3228, allocations: 56.06 kB / 0.5316 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.3228, allocations: 16.12 kB / 0.5317 GB, free: 11.9 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.0002107/0.323, allocations: 197.9 kB / 0.5318 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3231, allocations: 41.59 kB / 0.5319 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/0.3239, allocations: 401 kB / 0.5323 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.324, allocations: 10.98 kB / 0.5323 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.324, allocations: 1.188 kB / 0.5323 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.324, allocations: 1.094 kB / 0.5323 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.3245, allocations: 360.7 kB / 0.5326 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.685e-05/0.3246, allocations: 33.8 kB / 0.5327 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3247, allocations: 24.25 kB / 0.5327 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3247, allocations: 9.406 kB / 0.5327 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3248, allocations: 11.28 kB / 0.5327 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3248, allocations: 1.094 kB / 0.5327 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3248, allocations: 9.172 kB / 0.5327 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.3256, allocations: 0.5746 MB / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.3257, allocations: 124.5 kB / 0.5334 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3258, allocations: 2.156 kB / 0.5334 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3261, allocations: 18.33 kB / 0.5334 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.3262, allocations: 21.81 kB / 0.5334 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3262, allocations: 8.625 kB / 0.5334 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.3266, allocations: 364 kB / 0.5338 GB, free: 10.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 0 / 0.5338 GB, free: 10.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.3272, allocations: 127 kB / 0.5339 GB, free: 10.38 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.0003278/0.3275, allocations: 171.4 kB / 0.5341 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.3284, allocations: 0.5328 MB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3284, allocations: 0 / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.3289, allocations: 392.1 kB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.3296, allocations: 111.5 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3309, allocations: 0.7934 MB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3313, allocations: 0.8407 MB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.3314, allocations: 30.5 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3314, allocations: 4 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of Templates: time 0.01023/0.3416, allocations: 7.417 MB / 0.5439 GB, free: 2.543 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/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) Reference file matches