Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001287/0.001287, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 77.59 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003553/0.1226, allocations: 2.156 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1253, allocations: 1.841 MB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.1255, allocations: 11.94 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1258, allocations: 75.58 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.1262, allocations: 139.3 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.1271, allocations: 346.1 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1276, allocations: 481.7 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.1277, allocations: 53.06 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.128, allocations: 191.1 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1283, allocations: 226.9 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1283, allocations: 12 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008338/0.1292, allocations: 0.5654 MB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1293, allocations: 107.5 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1295, allocations: 190.7 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.1303, allocations: 0.7437 MB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1303, allocations: 0 / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1303, allocations: 0 / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1304, allocations: 0 / 487.2 MB, free: 14.04 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.001161/0.1315, allocations: 0.776 MB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1316, allocations: 8.031 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.1317, allocations: 102.7 kB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.1318, allocations: 52.28 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.1321, allocations: 307.9 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1321, allocations: 36.98 kB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.1322, allocations: 51.98 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.1332, allocations: 0.7069 MB / 489.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1332, allocations: 0 / 489.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.1332, allocations: 19.98 kB / 489.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.1333, allocations: 53.28 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1344, allocations: 0.7467 MB / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1364, allocations: 1.434 MB / 491.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.1371, allocations: 456.4 kB / 492 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1374, allocations: 157.2 kB / 492.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.1374, allocations: 12.22 kB / 492.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1375, allocations: 30.8 kB / 492.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.1375, allocations: 4 kB / 492.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001052/0.1385, allocations: 0.5481 MB / 492.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1386, allocations: 51.41 kB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.1392, allocations: 0.5329 MB / 493.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1392, allocations: 29.7 kB / 493.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1394, allocations: 248 kB / 493.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1394, allocations: 90.66 kB / 493.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1396, allocations: 97.95 kB / 493.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1397, allocations: 362.8 kB / 494.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.14, allocations: 164.5 kB / 494.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.1404, allocations: 296 kB / 494.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.1412, allocations: 0.4889 MB / 495.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1412, allocations: 3.938 kB / 495.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009588/0.1421, allocations: 0.5437 MB / 495.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1422, allocations: 6.656 kB / 495.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1422, allocations: 4 kB / 495.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1422, allocations: 8 kB / 495.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.1432, allocations: 223.8 kB / 495.8 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.1469, allocations: 7.306 MB / 0.4913 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.1472, allocations: 71.22 kB / 0.4914 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.1473, allocations: 27.98 kB / 0.4914 GB, free: 13.41 MB / 382.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.0002396/0.1475, allocations: 217.7 kB / 0.4917 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.1476, allocations: 47.44 kB / 0.4917 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009803/0.1486, allocations: 0.5486 MB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1486, allocations: 4 kB / 0.4922 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1486, allocations: 0 / 0.4922 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1486, allocations: 0 / 0.4922 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.1491, allocations: 429.2 kB / 0.4926 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1491, allocations: 4.109 kB / 0.4926 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008328/0.1499, allocations: 207.8 kB / 0.4928 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.15, allocations: 0 / 0.4928 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.15, allocations: 15.92 kB / 0.4929 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.1533, allocations: 7.302 MB / 0.5 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1533, allocations: 0 / 0.5 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.1541, allocations: 0.5153 MB / 0.5005 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1542, allocations: 124.5 kB / 0.5006 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.1543, allocations: 4 kB / 0.5006 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1545, allocations: 16.08 kB / 0.5006 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1546, allocations: 27.97 kB / 0.5007 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.1546, allocations: 19.92 kB / 0.5007 GB, free: 3.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.155, allocations: 383 kB / 0.501 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.155, allocations: 0 / 0.501 GB, free: 3.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005512/0.1556, allocations: 171.8 kB / 0.5012 GB, free: 3.031 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.001277/0.1569, allocations: 1.161 MB / 0.5023 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.1584, allocations: 0.6059 MB / 0.5029 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1585, allocations: 0 / 0.5029 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.1595, allocations: 348.5 kB / 0.5033 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.16, allocations: 93.84 kB / 0.5034 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/0.3689, allocations: 5.441 MB / 0.5087 GB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3694, allocations: 0.8993 MB / 0.5095 GB, free: 40.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.3698, allocations: 143.5 kB / 0.5097 GB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.37, allocations: 139.6 kB / 0.5098 GB, free: 40.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.37, allocations: 0 / 0.5098 GB, free: 40.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.4075, allocations: 14.65 MB / 0.5241 GB, free: 35.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 3.188 kB / 0.5241 GB, free: 35.91 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches