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_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.00133/0.00133, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.00136/0.00136, allocations: 194 kB / 18.12 MB, free: 5.383 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.363/1.363, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2037/0.2037, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.05 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.00412/0.1314, allocations: 2.202 MB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1331, allocations: 0.8997 MB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1332, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1336, allocations: 67.64 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.134, allocations: 131.4 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1343, allocations: 87.72 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.135, allocations: 0.6264 MB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1351, allocations: 57.05 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1354, allocations: 175 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.1357, allocations: 238.8 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.1357, allocations: 12 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.1361, allocations: 179.7 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1362, allocations: 107.5 kB / 473.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1364, allocations: 202.6 kB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.137, allocations: 0.5177 MB / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.137, allocations: 0 / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.137, allocations: 0 / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.137, allocations: 0 / 474.1 MB, free: 9.195 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.001271/0.1383, allocations: 0.7565 MB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1383, allocations: 8.031 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.1385, allocations: 106.7 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.1386, allocations: 52.28 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.139, allocations: 307.8 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.139, allocations: 36.98 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.1391, allocations: 51.92 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.1401, allocations: 0.707 MB / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1401, allocations: 0 / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.1401, allocations: 23.98 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/0.1402, allocations: 53.28 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1414, allocations: 0.7427 MB / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.1435, allocations: 1.438 MB / 478.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.1442, allocations: 452.4 kB / 478.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.1446, allocations: 161.2 kB / 479 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.1446, allocations: 12.22 kB / 479 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1446, allocations: 38.78 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1447, allocations: 0 / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001166/0.1458, allocations: 0.5403 MB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1459, allocations: 55.41 kB / 479.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.1465, allocations: 0.529 MB / 480.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1465, allocations: 33.7 kB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1467, allocations: 224.5 kB / 480.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.647e-05/0.1468, allocations: 106.5 kB / 480.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1469, allocations: 86 kB / 480.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1471, allocations: 358.8 kB / 481 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1474, allocations: 152.6 kB / 481.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.1478, allocations: 252.2 kB / 481.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.1485, allocations: 439.5 kB / 481.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1485, allocations: 0 / 481.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008888/0.1494, allocations: 0.4927 MB / 482.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1495, allocations: 8 kB / 482.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1495, allocations: 4 kB / 482.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1495, allocations: 4 kB / 482.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.1505, allocations: 215.8 kB / 482.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.1545, allocations: 7.322 MB / 489.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.1549, allocations: 51.38 kB / 489.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.155, allocations: 23.98 kB / 489.9 MB, free: 8.824 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003394/0.1553, allocations: 222.3 kB / 490.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.1554, allocations: 43.62 kB / 490.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.1565, allocations: 0.5601 MB / 490.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1565, allocations: 4 kB / 490.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1565, allocations: 0 / 490.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1565, allocations: 0 / 490.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1571, allocations: 429.1 kB / 491.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1571, allocations: 0 / 491.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.158, allocations: 211.9 kB / 491.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.158, allocations: 0 / 491.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.158, allocations: 15.94 kB / 491.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/0.1621, allocations: 7.31 MB / 498.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1622, allocations: 0 / 498.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.163, allocations: 0.5075 MB / 499.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.1632, allocations: 132.5 kB / 499.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.1633, allocations: 4 kB / 499.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1635, allocations: 8 kB / 499.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.1636, allocations: 35.95 kB / 499.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.1637, allocations: 12 kB / 499.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004828/0.1642, allocations: 391 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1642, allocations: 0 / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1647, allocations: 135.8 kB / 499.9 MB, free: 14.46 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.001344/0.1661, allocations: 1.079 MB / 0.4892 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.1677, allocations: 0.5269 MB / 0.4897 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1677, allocations: 0 / 0.4897 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.1687, allocations: 349.1 kB / 0.4901 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.1694, allocations: 85.84 kB / 0.4902 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/0.1769, allocations: 5.531 MB / 0.4956 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1774, allocations: 0.8972 MB / 0.4964 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.1778, allocations: 132.1 kB / 0.4966 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.178, allocations: 143.3 kB / 0.4967 GB, free: 5.52 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1781, allocations: 4 kB / 0.4967 GB, free: 5.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/0.4096, allocations: 12.73 MB / 0.5091 GB, free: 50.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4099, allocations: 290 kB / 0.5094 GB, free: 49.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.62, allocations: 0 / 0.5094 GB, free: 49.83 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches