Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, 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.001172/0.001172, 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.346/1.346, 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.2108/0.2108, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 79.55 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003616/0.1174, allocations: 1.952 MB / 482.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1193, allocations: 1.168 MB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1195, allocations: 4 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1199, allocations: 67.66 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1202, allocations: 103.4 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.1207, allocations: 150.9 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.1213, allocations: 477.7 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1214, allocations: 61 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.1217, allocations: 163.1 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.122, allocations: 199 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.122, allocations: 15.94 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1225, allocations: 275.5 kB / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1227, allocations: 95.52 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1229, allocations: 186.7 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.1236, allocations: 0.5568 MB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1236, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1236, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1236, allocations: 0 / 485.6 MB, free: 15.73 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001058/0.1247, allocations: 0.7219 MB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1247, allocations: 8.031 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.1249, allocations: 102.7 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.125, allocations: 44.38 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1253, allocations: 299.6 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.1254, allocations: 37.69 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.1254, allocations: 51.94 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.1264, allocations: 0.6349 MB / 487.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1264, allocations: 3.938 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.1264, allocations: 24 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.1265, allocations: 33.3 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.1274, allocations: 0.5047 MB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.1299, allocations: 1.418 MB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.1307, allocations: 434.1 kB / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1309, allocations: 140.8 kB / 490 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.131, allocations: 11.92 kB / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.131, allocations: 38.56 kB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.131, allocations: 0 / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009906/0.132, allocations: 0.5007 MB / 490.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1321, allocations: 51.41 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.1327, allocations: 0.5562 MB / 491.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1327, allocations: 25.7 kB / 491.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1329, allocations: 220.1 kB / 491.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.133, allocations: 82.81 kB / 491.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1332, allocations: 93.92 kB / 491.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1334, allocations: 366.7 kB / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.1337, allocations: 156.2 kB / 492.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1341, allocations: 252.7 kB / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/0.1381, allocations: 1.057 MB / 493.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1382, allocations: 4 kB / 493.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009715/0.1391, allocations: 0.4969 MB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1392, allocations: 8.031 kB / 493.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-05/0.1393, allocations: 40 kB / 493.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1393, allocations: 7.984 kB / 494 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1395, allocations: 39.86 kB / 494 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1395, allocations: 8 kB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.1399, allocations: 63.3 kB / 494.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.1399, allocations: 20 kB / 494.1 MB, free: 6.91 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003734/0.1403, allocations: 229.5 kB / 494.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.1404, allocations: 43.44 kB / 494.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1415, allocations: 0.5325 MB / 494.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1415, allocations: 11.92 kB / 494.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1415, allocations: 0 / 494.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1415, allocations: 0 / 494.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.1422, allocations: 433.1 kB / 495.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.55e-05/0.1423, allocations: 47.98 kB / 495.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1425, allocations: 27.92 kB / 495.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1425, allocations: 4 kB / 495.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.1426, allocations: 16 kB / 495.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1426, allocations: 0 / 495.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1426, allocations: 3.984 kB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1437, allocations: 0.6984 MB / 496.1 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1438, allocations: 128.6 kB / 496.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.1439, allocations: 4.062 kB / 496.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1441, allocations: 12 kB / 496.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1442, allocations: 27.97 kB / 496.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.1442, allocations: 16 kB / 496.3 MB, free: 4.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.1447, allocations: 395 kB / 496.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 496.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1452, allocations: 155.8 kB / 496.8 MB, free: 4.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.001554/0.1468, allocations: 1.321 MB / 498.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009738/0.1478, allocations: 0.7226 MB / 498.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1478, allocations: 4 kB / 498.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.1482, allocations: 488.2 kB / 499.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1488, allocations: 98.64 kB / 499.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/0.1559, allocations: 5.483 MB / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.1564, allocations: 0.8819 MB / 0.494 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.1567, allocations: 116.1 kB / 0.4941 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1569, allocations: 135.4 kB / 0.4942 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.157, allocations: 0 / 0.4942 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2249/0.3819, allocations: 12.68 MB / 0.5066 GB, free: 42.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.346, allocations: 9.766 kB / 0.5066 GB, free: 42.65 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches