Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 109.5 kB / 17.33 MB, free: 6.016 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.001163/0.001163, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.354/1.354, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2051/0.2051, allocations: 44.19 MB / 336.3 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.19 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003804/0.1231, allocations: 2.202 MB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.126, allocations: 1.764 MB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1262, allocations: 4 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1265, allocations: 67.66 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.127, allocations: 123.4 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.1279, allocations: 297.9 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1285, allocations: 485.6 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1286, allocations: 61.05 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.129, allocations: 187.1 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1293, allocations: 234.8 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.1294, allocations: 16 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.1303, allocations: 0.546 MB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1304, allocations: 115.4 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1306, allocations: 194.6 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008977/0.1315, allocations: 0.7204 MB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1316, allocations: 0 / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1316, allocations: 0 / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1316, allocations: 0 / 475.8 MB, free: 7.594 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001279/0.1329, allocations: 0.772 MB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1329, allocations: 12.03 kB / 476.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.133, allocations: 106.6 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.1331, allocations: 52.28 kB / 476.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1335, allocations: 307.8 kB / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.1336, allocations: 40.98 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.1336, allocations: 44 kB / 477.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1347, allocations: 0.7108 MB / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1347, allocations: 0 / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1348, allocations: 20 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.1348, allocations: 57.28 kB / 477.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1359, allocations: 0.7389 MB / 478.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1379, allocations: 1.442 MB / 480.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.1387, allocations: 448.5 kB / 480.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.139, allocations: 157.2 kB / 480.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.139, allocations: 16.2 kB / 480.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1391, allocations: 34.8 kB / 480.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.1391, allocations: 0 / 480.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001071/0.1401, allocations: 0.5403 MB / 481.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1402, allocations: 55.41 kB / 481.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.1407, allocations: 0.529 MB / 481.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1408, allocations: 33.7 kB / 481.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1409, allocations: 252 kB / 482.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.141, allocations: 94.66 kB / 482.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.1412, allocations: 97.95 kB / 482.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1413, allocations: 358.7 kB / 482.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.1416, allocations: 160.6 kB / 482.8 MB, free: 336 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.142, allocations: 305.3 kB / 483.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.1428, allocations: 0.4889 MB / 483.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1428, allocations: 0 / 483.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008905/0.1437, allocations: 0.5355 MB / 484.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1437, allocations: 8 kB / 484.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1437, allocations: 4.109 kB / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1438, allocations: 11.94 kB / 484.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.1447, allocations: 220.3 kB / 484.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.1483, allocations: 7.317 MB / 491.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.1487, allocations: 63.27 kB / 491.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.1488, allocations: 27.98 kB / 491.8 MB, free: 6.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0003466/0.1491, allocations: 229.8 kB / 492 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.1492, allocations: 43.44 kB / 492.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1503, allocations: 0.5407 MB / 492.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1503, allocations: 4 kB / 492.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1503, allocations: 4 kB / 492.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1504, allocations: 3.984 kB / 492.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.151, allocations: 429.2 kB / 493.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.151, allocations: 0 / 493.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.1518, allocations: 203.8 kB / 493.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1519, allocations: 4 kB / 493.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1519, allocations: 15.92 kB / 493.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.1557, allocations: 7.294 MB / 0.4888 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1557, allocations: 3.984 kB / 0.4888 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.1566, allocations: 0.5116 MB / 0.4893 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1568, allocations: 128.5 kB / 0.4895 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.1569, allocations: 4 kB / 0.4895 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1571, allocations: 8 kB / 0.4895 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.1572, allocations: 31.89 kB / 0.4895 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.1573, allocations: 19.98 kB / 0.4895 GB, free: 13.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.1577, allocations: 383 kB / 0.4899 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1577, allocations: 0 / 0.4899 GB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006354/0.1584, allocations: 167.8 kB / 0.49 GB, free: 12.58 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.001484/0.1599, allocations: 1.149 MB / 0.4912 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.1615, allocations: 0.6096 MB / 0.4918 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1615, allocations: 0 / 0.4918 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.1625, allocations: 348.7 kB / 0.4921 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.1631, allocations: 91.34 kB / 0.4922 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.17, allocations: 5.574 MB / 0.4976 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.1705, allocations: 0.8936 MB / 0.4985 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004211/0.1709, allocations: 148.2 kB / 0.4986 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.1711, allocations: 139.4 kB / 0.4988 GB, free: 3.402 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1711, allocations: 0 / 0.4988 GB, free: 3.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.387, allocations: 14.33 MB / 0.5128 GB, free: 49.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.3873, allocations: 294.8 kB / 0.5131 GB, free: 49.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.623, allocations: 0 / 0.5131 GB, free: 49.39 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches