Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001647, allocations: 74 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1193, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.004306/0.1236, allocations: 2.181 MB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1254, allocations: 0.9346 MB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.1256, allocations: 0 / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.1259, allocations: 71.58 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1264, allocations: 139.3 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1268, allocations: 91.64 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.1273, allocations: 489.7 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1274, allocations: 61.05 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.1277, allocations: 195 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.128, allocations: 222.9 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.1281, allocations: 12 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.1285, allocations: 183.7 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1286, allocations: 115.5 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1288, allocations: 190.7 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.1294, allocations: 0.5332 MB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1295, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1295, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1295, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001197/0.1307, allocations: 0.7526 MB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1307, allocations: 12.03 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.1308, allocations: 98.7 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.1309, allocations: 52.28 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1313, allocations: 314.8 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.1314, allocations: 33 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.1314, allocations: 51.98 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.1324, allocations: 0.707 MB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1325, allocations: 0 / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1325, allocations: 23.98 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/0.1326, allocations: 57.27 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1338, allocations: 0.7428 MB / 488.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1359, allocations: 1.438 MB / 489.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.1367, allocations: 456.4 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.137, allocations: 157.2 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.1371, allocations: 16.16 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1371, allocations: 38.8 kB / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.1371, allocations: 0 / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001143/0.1383, allocations: 0.5365 MB / 491 MB, free: 10.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.1384, allocations: 55.52 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.1389, allocations: 0.5367 MB / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.139, allocations: 37.7 kB / 491.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1392, allocations: 220.5 kB / 491.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1393, allocations: 102.5 kB / 491.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1395, allocations: 86.02 kB / 492 MB, free: 9.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1397, allocations: 358.8 kB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.14, allocations: 156.4 kB / 492.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.1405, allocations: 248.3 kB / 492.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1412, allocations: 439.5 kB / 493.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1412, allocations: 0 / 493.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009196/0.1421, allocations: 0.4928 MB / 493.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1422, allocations: 8 kB / 493.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.1422, allocations: 4 kB / 493.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1422, allocations: 4 kB / 493.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.1432, allocations: 207.8 kB / 493.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.1474, allocations: 7.325 MB / 0.4895 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1478, allocations: 55.36 kB / 0.4895 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.1479, allocations: 20 kB / 0.4896 GB, free: 15.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.1482, allocations: 230.2 kB / 0.4898 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1484, allocations: 43.44 kB / 0.4898 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1495, allocations: 0.5487 MB / 0.4903 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1495, allocations: 0 / 0.4903 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.1495, allocations: 3.984 kB / 0.4904 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1495, allocations: 4 kB / 0.4904 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.1501, allocations: 425.1 kB / 0.4908 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.1502, allocations: 11.94 kB / 0.4908 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.151, allocations: 203.8 kB / 0.491 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.151, allocations: 4 kB / 0.491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1511, allocations: 19.92 kB / 0.491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.1551, allocations: 7.298 MB / 0.4981 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1551, allocations: 4.344 kB / 0.4981 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.1559, allocations: 0.5114 MB / 0.4986 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.1561, allocations: 124.5 kB / 0.4987 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.1562, allocations: 8 kB / 0.4987 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1564, allocations: 11.98 kB / 0.4988 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.1565, allocations: 23.97 kB / 0.4988 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.1566, allocations: 23.92 kB / 0.4988 GB, free: 5.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.157, allocations: 391 kB / 0.4992 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.4992 GB, free: 5.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005549/0.1576, allocations: 131.8 kB / 0.4993 GB, free: 5.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.1589, allocations: 1.083 MB / 0.5004 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.1605, allocations: 0.5819 MB / 0.5009 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1605, allocations: 0 / 0.5009 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1615, allocations: 344.9 kB / 0.5013 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.1621, allocations: 93.78 kB / 0.5013 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1879/0.35, allocations: 5.407 MB / 0.5066 GB, free: 41.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3505, allocations: 0.8925 MB / 0.5075 GB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004319/0.351, allocations: 131.9 kB / 0.5076 GB, free: 40.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3512, allocations: 143.2 kB / 0.5078 GB, free: 40.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3512, allocations: 0 / 0.5078 GB, free: 40.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.3891, allocations: 13.27 MB / 0.5207 GB, free: 37.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 3.688 kB / 0.5207 GB, free: 37.37 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches