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.001438/0.001438, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001581/0.001581, allocations: 194 kB / 18.12 MB, free: 5.363 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.365/1.365, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2356/0.2356, allocations: 44.16 MB / 336.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.55 kB / 407.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 60.83 MB / 468.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003887/0.1212, allocations: 2.112 MB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1234, allocations: 1.281 MB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1236, allocations: 3.938 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.124, allocations: 63.66 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1243, allocations: 83.52 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.1249, allocations: 159 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.1255, allocations: 0.5019 MB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1256, allocations: 40.72 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1259, allocations: 147.2 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1262, allocations: 183 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.1263, allocations: 8 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.1268, allocations: 255.6 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.127, allocations: 87.53 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1272, allocations: 159 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.1279, allocations: 0.5101 MB / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.128, allocations: 0 / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.128, allocations: 0 / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.128, allocations: 0 / 474.1 MB, free: 9.188 MB / 350.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.001379/0.1294, allocations: 0.7136 MB / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1294, allocations: 11.97 kB / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1295, allocations: 48.38 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1299, allocations: 280.5 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.13, allocations: 32.94 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.13, allocations: 39.98 kB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.131, allocations: 0.5613 MB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.131, allocations: 0 / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.131, allocations: 16 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.1311, allocations: 20.98 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.1319, allocations: 415.6 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1339, allocations: 1.277 MB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.1344, allocations: 275.6 kB / 477.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.1348, allocations: 142.5 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.1348, allocations: 4 kB / 477.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1349, allocations: 42.5 kB / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1349, allocations: 0 / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001413/0.1363, allocations: 467.5 kB / 478.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.1364, allocations: 102.9 kB / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.137, allocations: 0.5016 MB / 479 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.137, allocations: 29.7 kB / 479.1 MB, free: 4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1372, allocations: 212.4 kB / 479.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.1372, allocations: 59.19 kB / 479.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1374, allocations: 65.61 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1375, allocations: 358.7 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.1379, allocations: 124.1 kB / 479.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.1382, allocations: 218.6 kB / 480.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.139, allocations: 361.9 kB / 480.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.139, allocations: 0 / 480.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000899/0.1399, allocations: 420.6 kB / 480.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1399, allocations: 8 kB / 480.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-05/0.14, allocations: 35.92 kB / 480.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.14, allocations: 4 kB / 480.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1402, allocations: 32.25 kB / 480.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1403, allocations: 11.98 kB / 480.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.1405, allocations: 47.58 kB / 481 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.1406, allocations: 16 kB / 481 MB, free: 1.965 MB / 350.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.0002189/0.1408, allocations: 201.6 kB / 481.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1409, allocations: 39.53 kB / 481.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.1417, allocations: 415.9 kB / 481.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.1417, allocations: 7.984 kB / 481.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1418, allocations: 0 / 481.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1418, allocations: 0 / 481.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1423, allocations: 361.4 kB / 482 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-05/0.1424, allocations: 35.98 kB / 482 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1426, allocations: 27.97 kB / 482.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1426, allocations: 3.938 kB / 482.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1426, allocations: 12 kB / 482.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1426, allocations: 3.984 kB / 482.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1426, allocations: 0 / 482.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.1435, allocations: 0.5793 MB / 482.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1436, allocations: 128.5 kB / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.1437, allocations: 0 / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.144, allocations: 19.98 kB / 482.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.1441, allocations: 23.97 kB / 482.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.1441, allocations: 12 kB / 482.8 MB, free: 20 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000462/0.1446, allocations: 363 kB / 483.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1446, allocations: 0 / 483.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.1453, allocations: 123.8 kB / 483.3 MB, free: 15.54 MB / 366.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.0004327/0.1457, allocations: 171.7 kB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.1467, allocations: 0.5382 MB / 484 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1467, allocations: 0 / 484 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.1472, allocations: 391.4 kB / 484.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.148, allocations: 105.8 kB / 484.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1495, allocations: 0.8802 MB / 485.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.1501, allocations: 0.8459 MB / 486.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.1504, allocations: 55.25 kB / 486.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.1505, allocations: 31.42 kB / 486.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1505, allocations: 4 kB / 486.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01865/0.1691, allocations: 7.193 MB / 493.5 MB, free: 5.262 MB / 366.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