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.001093/0.001093, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.00107/0.00107, allocations: 191.9 kB / 18.56 MB, free: 4.609 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.338/1.338, allocations: 222.9 MB / 242.2 MB, free: 15.24 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.1989/0.1989, allocations: 44.19 MB / 336.6 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 59.38 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1328, allocations: 60.84 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004533/0.1374, allocations: 2.052 MB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1397, allocations: 1.266 MB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.1398, allocations: 0 / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.1402, allocations: 67.59 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1404, allocations: 75.45 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.141, allocations: 195.2 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.1415, allocations: 438 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.1416, allocations: 52.7 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1418, allocations: 139.2 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.142, allocations: 175.1 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.1421, allocations: 16 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.1425, allocations: 255.6 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1426, allocations: 87.58 kB / 474.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1428, allocations: 158.9 kB / 474.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.1435, allocations: 0.5101 MB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1435, allocations: 0 / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1435, allocations: 0 / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1435, allocations: 0 / 474.7 MB, free: 8.859 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.00123/0.1448, allocations: 0.7136 MB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1448, allocations: 12.03 kB / 475.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.145, allocations: 48.38 kB / 475.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.1453, allocations: 284.5 kB / 475.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1454, allocations: 32.94 kB / 475.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.1454, allocations: 36 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.1463, allocations: 0.5535 MB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1463, allocations: 4 kB / 476.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1463, allocations: 12 kB / 476.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.1464, allocations: 20.98 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.1471, allocations: 415.6 kB / 476.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.149, allocations: 1.285 MB / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.1497, allocations: 279.6 kB / 478.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.15, allocations: 138.5 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.15, allocations: 8 kB / 478.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1501, allocations: 42.53 kB / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.804e-06/0.1501, allocations: 0 / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001137/0.1512, allocations: 464.9 kB / 479 MB, free: 4.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1513, allocations: 102.8 kB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.1518, allocations: 0.5017 MB / 479.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1518, allocations: 29.64 kB / 479.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1519, allocations: 212.2 kB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.152, allocations: 59.14 kB / 479.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1521, allocations: 73.66 kB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1523, allocations: 350.8 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.1526, allocations: 132.1 kB / 480.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.153, allocations: 208.6 kB / 480.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.1537, allocations: 376.7 kB / 481.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1537, allocations: 0 / 481.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000845/0.1546, allocations: 416.7 kB / 481.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1546, allocations: 8 kB / 481.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/0.1546, allocations: 39.92 kB / 481.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1547, allocations: 4 kB / 481.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1549, allocations: 31.95 kB / 481.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1549, allocations: 7.938 kB / 481.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1551, allocations: 51.83 kB / 481.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1552, allocations: 15.98 kB / 481.6 MB, free: 1.625 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.0002253/0.1554, allocations: 197.6 kB / 481.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1555, allocations: 39.53 kB / 481.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.1564, allocations: 404.7 kB / 482.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1564, allocations: 4 kB / 482.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1564, allocations: 0 / 482.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1564, allocations: 3.984 kB / 482.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.1569, allocations: 361.4 kB / 482.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/0.1569, allocations: 28 kB / 482.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1571, allocations: 23.97 kB / 482.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1571, allocations: 7.938 kB / 482.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1571, allocations: 23.86 kB / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1572, allocations: 0 / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1572, allocations: 0 / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.158, allocations: 0.5851 MB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1581, allocations: 124.5 kB / 483.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.1582, allocations: 8 kB / 483.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.1585, allocations: 15.97 kB / 483.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.1585, allocations: 19.98 kB / 483.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1586, allocations: 12 kB / 483.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.1589, allocations: 371 kB / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000544/0.1595, allocations: 119.8 kB / 483.9 MB, free: 15.22 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.0003805/0.1599, allocations: 179.1 kB / 484.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.1608, allocations: 0.5581 MB / 484.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1608, allocations: 0 / 484.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.1612, allocations: 387.1 kB / 485 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.1619, allocations: 101.5 kB / 485.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1632, allocations: 0.7808 MB / 485.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1636, allocations: 0.8458 MB / 486.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1637, allocations: 67.22 kB / 486.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.1638, allocations: 31.38 kB / 486.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1638, allocations: 0 / 486.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Templates: time 0.0133/0.1771, allocations: 7.571 MB / 494.4 MB, free: 4.633 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