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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 110.7 kB / 18.45 MB, free: 4.594 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.001729/0.001729, allocations: 183 kB / 19.38 MB, free: 3.672 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.366/1.366, 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.2091/0.2091, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 63.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3663, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002878/0.3692, allocations: 1.996 MB / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3709, allocations: 0.8086 MB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.371, allocations: 2.656 kB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3714, allocations: 70.44 kB / 0.5224 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3718, allocations: 121.5 kB / 0.5225 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3721, allocations: 68.75 kB / 0.5226 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.3725, allocations: 316.4 kB / 0.5229 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.3726, allocations: 34.34 kB / 0.5229 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.3728, allocations: 127.4 kB / 0.523 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3731, allocations: 141.8 kB / 0.5232 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3731, allocations: 19.75 kB / 0.5232 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3734, allocations: 123.3 kB / 0.5233 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3736, allocations: 63.67 kB / 0.5234 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3737, allocations: 116.9 kB / 0.5235 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.3743, allocations: 342.9 kB / 0.5238 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3744, allocations: 1.594 kB / 0.5238 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3744, allocations: 0 / 0.5238 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3744, allocations: 0 / 0.5238 GB, free: 0.9922 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007984/0.3752, allocations: 0.5692 MB / 0.5244 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3752, allocations: 9.5 kB / 0.5244 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.3753, allocations: 31.27 kB / 0.5244 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3755, allocations: 252.6 kB / 0.5247 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3756, allocations: 22.62 kB / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.3756, allocations: 20.81 kB / 0.5247 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.3763, allocations: 398.1 kB / 0.5251 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3763, allocations: 4 kB / 0.5251 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3763, allocations: 13.69 kB / 0.5251 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.526e-05/0.3764, allocations: 26.8 kB / 0.5251 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.3772, allocations: 406.2 kB / 0.5255 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3787, allocations: 0.8745 MB / 0.5264 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.3794, allocations: 280.8 kB / 0.5266 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3796, allocations: 91.41 kB / 0.5267 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.3796, allocations: 10.61 kB / 0.5267 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3797, allocations: 31.75 kB / 0.5268 GB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.3797, allocations: 0 / 0.5268 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008428/0.3805, allocations: 352.7 kB / 0.5271 GB, free: 15.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3806, allocations: 52.84 kB / 0.5271 GB, free: 15.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.381, allocations: 341.9 kB / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.381, allocations: 30.95 kB / 0.5275 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3811, allocations: 162.6 kB / 0.5276 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.3812, allocations: 50.47 kB / 0.5277 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.3813, allocations: 51.88 kB / 0.5277 GB, free: 14.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3814, allocations: 347 kB / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3817, allocations: 93.55 kB / 0.5282 GB, free: 14.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3819, allocations: 137.9 kB / 0.5283 GB, free: 14.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.3824, allocations: 248.5 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3824, allocations: 1.469 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005593/0.383, allocations: 299.8 kB / 0.5288 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.383, allocations: 10.41 kB / 0.5288 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.383, allocations: 1 kB / 0.5288 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.383, allocations: 3.219 kB / 0.5288 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3836, allocations: 108.7 kB / 0.5289 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.3857, allocations: 3.68 MB / 0.5325 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3859, allocations: 34.02 kB / 0.5326 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.386, allocations: 16.92 kB / 0.5326 GB, free: 10.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.3862, allocations: 174.1 kB / 0.5327 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.3863, allocations: 31.64 kB / 0.5328 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.387, allocations: 329.2 kB / 0.5331 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.387, allocations: 4 kB / 0.5331 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.387, allocations: 0 / 0.5331 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.3871, allocations: 103.8 kB / 0.5332 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3871, allocations: 6 kB / 0.5332 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3873, allocations: 11.58 kB / 0.5332 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3874, allocations: 10.05 kB / 0.5332 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001115/0.3885, allocations: 492.6 kB / 0.5337 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008213/0.3893, allocations: 0.556 MB / 0.5342 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.3895, allocations: 100.9 kB / 0.5343 GB, free: 8.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.3898, allocations: 256.4 kB / 0.5346 GB, free: 8.766 MB / 398.1 MB Notification: Performance of Backend: time 6.51e-07/0.3898, allocations: 0 / 0.5346 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.391, allocations: 322.1 kB / 0.5349 GB, free: 8.605 MB / 398.1 MB Notification: Performance of SimCode: time 0.001205/0.3922, allocations: 1.071 MB / 0.5359 GB, free: 7.742 MB / 398.1 MB Notification: Performance of Templates: time 0.01046/0.4027, allocations: 5.568 MB / 0.5414 GB, free: 5.074 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches