Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001016/0.001016, allocations: 94.02 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 174.9 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3921/0.3921, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005842/0.0005843, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1455, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002288/0.1479, allocations: 1.678 MB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1496, allocations: 1.155 MB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1497, allocations: 4 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1499, allocations: 51.72 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.15, allocations: 59.81 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.1505, allocations: 155.6 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1508, allocations: 287.3 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1509, allocations: 48.7 kB / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1511, allocations: 123.4 kB / 446.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1512, allocations: 151.3 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1513, allocations: 15.98 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.1517, allocations: 251.7 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.1518, allocations: 75.66 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.1518, allocations: 85.52 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1522, allocations: 347.4 kB / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1522, allocations: 0 / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1522, allocations: 0 / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1522, allocations: 0 / 447.2 MB, free: 8.586 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001006/0.1533, allocations: 0.6627 MB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1533, allocations: 8.031 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.1534, allocations: 51.39 kB / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1537, allocations: 271.5 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1538, allocations: 29 kB / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.1538, allocations: 43.92 kB / 448.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.1546, allocations: 0.5613 MB / 448.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1547, allocations: 0 / 448.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.1547, allocations: 23.98 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.1547, allocations: 17 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.1555, allocations: 443.5 kB / 449.3 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1572, allocations: 1.297 MB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1577, allocations: 311.5 kB / 450.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.1578, allocations: 7.938 kB / 450.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1578, allocations: 42.5 kB / 451 MB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.1578, allocations: 0 / 451 MB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001305/0.1591, allocations: 0.7578 MB / 451.7 MB, free: 3.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1592, allocations: 114.8 kB / 451.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1597, allocations: 0.4939 MB / 452.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1598, allocations: 25.7 kB / 452.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1599, allocations: 208.2 kB / 452.6 MB, free: 2.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.16, allocations: 63.09 kB / 452.6 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.16, allocations: 4 kB / 452.6 MB, free: 2.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1601, allocations: 354.8 kB / 453 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.1605, allocations: 152.1 kB / 453.1 MB, free: 2.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.1608, allocations: 242.6 kB / 453.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.1612, allocations: 179.8 kB / 453.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1612, allocations: 4 kB / 453.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008945/0.1621, allocations: 460.6 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1622, allocations: 8.344 kB / 454 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-05/0.1622, allocations: 35.97 kB / 454 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1622, allocations: 4 kB / 454 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1624, allocations: 43.89 kB / 454.1 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1625, allocations: 7.953 kB / 454.1 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1627, allocations: 63.5 kB / 454.1 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1628, allocations: 20 kB / 454.2 MB, free: 1.277 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.163, allocations: 202.4 kB / 454.4 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.1631, allocations: 39.53 kB / 454.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.1639, allocations: 432.8 kB / 454.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1639, allocations: 4 kB / 454.8 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1639, allocations: 4 kB / 454.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1639, allocations: 3.953 kB / 454.8 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1645, allocations: 381.2 kB / 455.2 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/0.1645, allocations: 23.98 kB / 455.2 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1647, allocations: 35.97 kB / 455.3 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1647, allocations: 3.984 kB / 455.3 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1647, allocations: 12 kB / 455.3 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1647, allocations: 0 / 455.3 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1647, allocations: 3.984 kB / 455.3 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2204/0.3851, allocations: 0.6479 MB / 455.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3853, allocations: 116.9 kB / 456 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.3854, allocations: 6.859 kB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.3857, allocations: 26.45 kB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.3857, allocations: 29 kB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.3858, allocations: 12 kB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3861, allocations: 359.4 kB / 456.5 MB, free: 45.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3861, allocations: 0 / 456.5 MB, free: 45.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.3867, allocations: 123.8 kB / 456.6 MB, free: 45.74 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002992/0.387, allocations: 171 kB / 456.8 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.3878, allocations: 0.5792 MB / 457.3 MB, free: 45.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3878, allocations: 0 / 457.3 MB, free: 45.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.3882, allocations: 416.8 kB / 457.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.3886, allocations: 81.61 kB / 457.8 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3897, allocations: 0.878 MB / 458.7 MB, free: 44.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.39, allocations: 0.8568 MB / 459.6 MB, free: 44.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3901, allocations: 71.45 kB / 459.6 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.3902, allocations: 22.25 kB / 459.6 MB, free: 44.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3902, allocations: 0 / 459.6 MB, free: 44.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01037/0.4006, allocations: 6.953 MB / 466.6 MB, free: 43.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches