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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 104 kB / 17.63 MB, free: 5.523 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.001754/0.001754, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.274/1.274, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1922/0.1922, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 58.05 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1253, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003963/0.1293, allocations: 1.941 MB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1317, allocations: 1.133 MB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.132, allocations: 4 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1324, allocations: 67.58 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.1328, allocations: 99.47 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.1335, allocations: 155.4 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007441/0.1343, allocations: 477.7 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1344, allocations: 52.97 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.1346, allocations: 163.1 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.135, allocations: 195 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.1351, allocations: 8 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.1357, allocations: 267.6 kB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1359, allocations: 99.47 kB / 474 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1362, allocations: 186.7 kB / 474.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.1371, allocations: 0.5646 MB / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1371, allocations: 0 / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1371, allocations: 4 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.1371, allocations: 0 / 474.8 MB, free: 8.832 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001296/0.1384, allocations: 0.7219 MB / 475.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1385, allocations: 8.031 kB / 475.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.1386, allocations: 102.7 kB / 475.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1387, allocations: 48.36 kB / 475.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1392, allocations: 295.6 kB / 475.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.1392, allocations: 41.62 kB / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.095e-05/0.1393, allocations: 51.94 kB / 476 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009458/0.1402, allocations: 0.6389 MB / 476.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1403, allocations: 0 / 476.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.1403, allocations: 20 kB / 476.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.1404, allocations: 33.3 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.1412, allocations: 0.5047 MB / 477.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.1438, allocations: 1.414 MB / 478.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.1446, allocations: 443.7 kB / 479.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1448, allocations: 140.8 kB / 479.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.1449, allocations: 15.88 kB / 479.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1449, allocations: 34.56 kB / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.1449, allocations: 0 / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009716/0.1459, allocations: 0.5013 MB / 479.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.146, allocations: 51.41 kB / 479.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.1466, allocations: 0.5484 MB / 480.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1467, allocations: 33.7 kB / 480.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1468, allocations: 224.1 kB / 480.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.1469, allocations: 82.81 kB / 480.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1471, allocations: 89.92 kB / 480.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1472, allocations: 366.7 kB / 481.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.1475, allocations: 156.2 kB / 481.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1479, allocations: 257.6 kB / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.1517, allocations: 1.055 MB / 482.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1518, allocations: 0 / 482.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008612/0.1526, allocations: 0.5007 MB / 483.1 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.1527, allocations: 8 kB / 483.1 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-05/0.1527, allocations: 39.98 kB / 483.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1528, allocations: 8 kB / 483.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.153, allocations: 39.91 kB / 483.2 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.153, allocations: 4 kB / 483.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.1533, allocations: 55.31 kB / 483.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.1533, allocations: 23.98 kB / 483.3 MB, free: 16 kB / 350.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.0003442/0.1537, allocations: 233.7 kB / 483.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.1538, allocations: 43.44 kB / 483.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.1548, allocations: 0.5364 MB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1548, allocations: 7.938 kB / 484.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1548, allocations: 4 kB / 484.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1548, allocations: 7.984 kB / 484.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.1554, allocations: 433.1 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.238e-05/0.1555, allocations: 39.98 kB / 484.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1557, allocations: 27.92 kB / 484.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1557, allocations: 4 kB / 484.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.1557, allocations: 12 kB / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1557, allocations: 0 / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1557, allocations: 3.938 kB / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1568, allocations: 0.714 MB / 485.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1569, allocations: 120.6 kB / 485.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.157, allocations: 8 kB / 485.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1572, allocations: 7.984 kB / 485.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.1573, allocations: 23.98 kB / 485.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.1573, allocations: 19.94 kB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004359/0.1578, allocations: 403 kB / 485.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 485.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.1583, allocations: 143.8 kB / 486 MB, free: 13.15 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.001538/0.1599, allocations: 1.309 MB / 487.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009432/0.1608, allocations: 0.7311 MB / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1608, allocations: 0 / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.1613, allocations: 484.2 kB / 488.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.1618, allocations: 98.66 kB / 488.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.1687, allocations: 5.49 MB / 494.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1692, allocations: 0.8819 MB / 495 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.1695, allocations: 116.2 kB / 495.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.1697, allocations: 135.4 kB / 495.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1697, allocations: 0 / 495.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.2162, allocations: 12.68 MB / 0.496 GB, free: 7.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.962/9.178, allocations: 16.66 kB / 0.496 GB, free: 7.078 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches