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.00112/0.00112, allocations: 107 kB / 17.33 MB, free: 6.023 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.00123/0.00123, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.353/1.353, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2089/0.2089, allocations: 44.17 MB / 336.2 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 57.31 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 60.84 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003385/0.1332, allocations: 1.998 MB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1351, allocations: 1.133 MB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1352, allocations: 0 / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1356, allocations: 63.72 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1359, allocations: 87.55 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.1365, allocations: 143.5 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.1371, allocations: 477.7 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1372, allocations: 53.02 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1374, allocations: 159.1 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.1377, allocations: 203 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.1378, allocations: 16 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.1383, allocations: 271.5 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1384, allocations: 103.5 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1386, allocations: 182.7 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.1393, allocations: 0.5568 MB / 474.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1393, allocations: 3.984 kB / 474.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1393, allocations: 0 / 474.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1394, allocations: 0 / 474.3 MB, free: 9.188 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.001151/0.1405, allocations: 0.7258 MB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1406, allocations: 8.031 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1407, allocations: 94.7 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1408, allocations: 52.38 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1412, allocations: 287.6 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.1412, allocations: 49.61 kB / 475.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.1413, allocations: 51.94 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.1423, allocations: 0.631 MB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1423, allocations: 0 / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.1423, allocations: 23.98 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.1424, allocations: 37.3 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.1433, allocations: 0.5047 MB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.1459, allocations: 1.426 MB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1466, allocations: 433.8 kB / 478.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.1469, allocations: 140.8 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.147, allocations: 15.86 kB / 478.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.147, allocations: 38.5 kB / 478.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.147, allocations: 0 / 478.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009549/0.148, allocations: 0.4974 MB / 479.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.148, allocations: 59.41 kB / 479.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.1487, allocations: 0.5484 MB / 479.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.1487, allocations: 29.7 kB / 479.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1489, allocations: 220.1 kB / 480.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.149, allocations: 86.8 kB / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1492, allocations: 93.92 kB / 480.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1493, allocations: 354.7 kB / 480.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1496, allocations: 160.2 kB / 480.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1499, allocations: 257.7 kB / 481 MB, free: 2.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.154, allocations: 1.053 MB / 482.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.154, allocations: 4 kB / 482.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008578/0.1549, allocations: 0.5005 MB / 482.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1549, allocations: 4 kB / 482.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.951e-05/0.155, allocations: 44.39 kB / 482.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.155, allocations: 8 kB / 482.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1552, allocations: 39.91 kB / 482.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1552, allocations: 4 kB / 482.7 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.1555, allocations: 55.31 kB / 482.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.1556, allocations: 24 kB / 482.8 MB, free: 372 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.0003333/0.1559, allocations: 229.6 kB / 483 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1561, allocations: 51.44 kB / 483 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.1571, allocations: 0.5401 MB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1571, allocations: 4 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1571, allocations: 0 / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1571, allocations: 3.984 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.1578, allocations: 433.1 kB / 484 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.5e-05/0.1579, allocations: 35.98 kB / 484 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1581, allocations: 27.98 kB / 484.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1581, allocations: 4 kB / 484.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.1581, allocations: 16 kB / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1581, allocations: 7.938 kB / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1581, allocations: 3.938 kB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1592, allocations: 0.7023 MB / 484.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1594, allocations: 124.6 kB / 484.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.1595, allocations: 4 kB / 484.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1597, allocations: 16.05 kB / 484.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1597, allocations: 23.98 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.1598, allocations: 12 kB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.1603, allocations: 403 kB / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1603, allocations: 0 / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.1608, allocations: 147.8 kB / 485.5 MB, free: 13.5 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.00168/0.1625, allocations: 1.311 MB / 486.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.1634, allocations: 0.7267 MB / 487.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1634, allocations: 4 kB / 487.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.1638, allocations: 484.2 kB / 488 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.1644, allocations: 102.4 kB / 488.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/0.1718, allocations: 5.588 MB / 493.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.1724, allocations: 0.8819 MB / 494.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.1727, allocations: 116.2 kB / 494.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.1729, allocations: 135.4 kB / 494.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1729, allocations: 0 / 494.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2038, allocations: 12.58 MB / 0.4955 GB, free: 7.477 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.2041, allocations: 257.4 kB / 0.4958 GB, free: 7.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.313, allocations: 3.938 kB / 0.4958 GB, free: 7.211 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