Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002112/0.002118, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 102.8 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2816/0.2816, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004631, allocations: 8 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 58.86 MB / 490.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003084/0.1196, allocations: 1.678 MB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1224, allocations: 1.147 MB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1227, allocations: 0 / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.123, allocations: 51.72 kB / 493.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1232, allocations: 67.81 kB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.1241, allocations: 155.6 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.1246, allocations: 287.4 kB / 493.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1248, allocations: 56.62 kB / 493.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.1251, allocations: 123.4 kB / 493.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.1254, allocations: 151.3 kB / 493.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1254, allocations: 8 kB / 493.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000759/0.1262, allocations: 255.7 kB / 494.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1264, allocations: 83.64 kB / 494.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1265, allocations: 77.52 kB / 494.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.1272, allocations: 347.4 kB / 494.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1272, allocations: 0 / 494.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1272, allocations: 0 / 494.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1272, allocations: 0 / 494.7 MB, free: 4.832 MB / 330.7 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.001533/0.1288, allocations: 0.6628 MB / 495.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1288, allocations: 12.03 kB / 495.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.129, allocations: 43.44 kB / 495.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.1295, allocations: 279.4 kB / 495.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.1296, allocations: 29 kB / 495.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/0.1297, allocations: 36 kB / 495.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1312, allocations: 0.5613 MB / 496.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.1312, allocations: 0 / 496.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.1313, allocations: 16 kB / 496.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.1314, allocations: 24.92 kB / 496.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.1328, allocations: 435.6 kB / 496.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.1358, allocations: 1.3 MB / 498.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1369, allocations: 319.5 kB / 498.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.1369, allocations: 11.98 kB / 498.4 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.137, allocations: 38.5 kB / 498.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.137, allocations: 0 / 498.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002344/0.1394, allocations: 0.7499 MB / 499.2 MB, free: 72 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.1395, allocations: 106.8 kB / 499.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008924/0.1404, allocations: 0.4977 MB / 499.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.1405, allocations: 29.7 kB / 499.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1407, allocations: 242.8 kB / 0.4883 GB, free: 15.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.1408, allocations: 59.14 kB / 0.4884 GB, free: 15.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1408, allocations: 8 kB / 0.4884 GB, free: 15.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.141, allocations: 322.8 kB / 0.4887 GB, free: 14.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.1416, allocations: 152.1 kB / 0.4888 GB, free: 14.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.1424, allocations: 250.6 kB / 0.4891 GB, free: 14.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.1431, allocations: 171.8 kB / 0.4892 GB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1431, allocations: 4 kB / 0.4893 GB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001618/0.1447, allocations: 441.1 kB / 0.4897 GB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1448, allocations: 11.98 kB / 0.4897 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.1449, allocations: 27.98 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.1449, allocations: 4 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.1453, allocations: 44.08 kB / 0.4898 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.1453, allocations: 4 kB / 0.4898 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.1458, allocations: 55.58 kB / 0.4898 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.1459, allocations: 19.94 kB / 0.4898 GB, free: 13.57 MB / 346.7 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.0003596/0.1463, allocations: 209.2 kB / 0.49 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.1464, allocations: 39.52 kB / 0.4901 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.1479, allocations: 440.8 kB / 0.4905 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1479, allocations: 4 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.148, allocations: 4 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.148, allocations: 4 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.1489, allocations: 381.2 kB / 0.4909 GB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-05/0.149, allocations: 23.98 kB / 0.4909 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.1493, allocations: 31.97 kB / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1493, allocations: 0 / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.1494, allocations: 11.98 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.1494, allocations: 4 kB / 0.4909 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1494, allocations: 3.938 kB / 0.4909 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.151, allocations: 0.6601 MB / 0.4916 GB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.1512, allocations: 120.6 kB / 0.4917 GB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.28e-05/0.1513, allocations: 4 kB / 0.4917 GB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.1518, allocations: 23.98 kB / 0.4917 GB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.152, allocations: 23.92 kB / 0.4917 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.152, allocations: 12 kB / 0.4918 GB, free: 11.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006515/0.1527, allocations: 359 kB / 0.4921 GB, free: 11.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1527, allocations: 0 / 0.4921 GB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008232/0.1535, allocations: 127.9 kB / 0.4922 GB, free: 11.02 MB / 346.7 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.0004781/0.154, allocations: 175 kB / 0.4924 GB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1557, allocations: 0.5731 MB / 0.4929 GB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1557, allocations: 0 / 0.4929 GB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.1566, allocations: 415.8 kB / 0.4933 GB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.1574, allocations: 94.05 kB / 0.4934 GB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1596, allocations: 0.893 MB / 0.4943 GB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.1602, allocations: 0.8499 MB / 0.4951 GB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1604, allocations: 35.42 kB / 0.4952 GB, free: 7.812 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1604, allocations: 0 / 0.4952 GB, free: 7.812 MB / 346.7 MB Notification: Performance of Templates: time 0.01772/0.1781, allocations: 7.318 MB / 0.5023 GB, free: 0.5078 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches