Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001279/0.001279, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.09 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 71.59 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 62.46 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.004058/0.1242, allocations: 2.222 MB / 481.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1261, allocations: 0.9348 MB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1263, allocations: 0 / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.1267, allocations: 63.7 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.1274, allocations: 135.3 kB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1278, allocations: 83.78 kB / 483.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.1283, allocations: 481.7 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1284, allocations: 61.05 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.1288, allocations: 187 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.1292, allocations: 238.8 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.1292, allocations: 15.94 kB / 484 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.1296, allocations: 195.7 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1297, allocations: 111.4 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.13, allocations: 194.7 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.1306, allocations: 0.5255 MB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1306, allocations: 0 / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1306, allocations: 3.984 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.1307, allocations: 4 kB / 485 MB, free: 60 kB / 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.001291/0.1319, allocations: 0.7487 MB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.132, allocations: 12.03 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1321, allocations: 98.69 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1322, allocations: 52.28 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1326, allocations: 315.8 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1327, allocations: 37 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.1328, allocations: 43.98 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1338, allocations: 0.707 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1339, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.1339, allocations: 23.98 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.134, allocations: 57.27 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1352, allocations: 0.7428 MB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1376, allocations: 1.449 MB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.1384, allocations: 454.3 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1387, allocations: 153.2 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.1388, allocations: 20.2 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1388, allocations: 30.8 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.1388, allocations: 112 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001163/0.14, allocations: 0.5468 MB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.14, allocations: 59.39 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.1406, allocations: 0.529 MB / 491.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1406, allocations: 29.7 kB / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.1408, allocations: 224.5 kB / 491.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.1409, allocations: 102.5 kB / 491.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1411, allocations: 86 kB / 491.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1412, allocations: 358.8 kB / 491.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.1416, allocations: 148.5 kB / 492 MB, free: 8.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.1419, allocations: 256.2 kB / 492.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.1427, allocations: 443.5 kB / 492.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1427, allocations: 4 kB / 492.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009567/0.1437, allocations: 496.6 kB / 493.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1437, allocations: 4 kB / 493.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1437, allocations: 4 kB / 493.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1437, allocations: 4 kB / 493.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.1447, allocations: 215.8 kB / 493.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/0.1492, allocations: 7.318 MB / 0.489 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1496, allocations: 51.38 kB / 0.4891 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.1496, allocations: 23.98 kB / 0.4891 GB, free: 15.7 MB / 382.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.0003815/0.15, allocations: 234.2 kB / 0.4893 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1501, allocations: 43.62 kB / 0.4893 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1513, allocations: 0.5485 MB / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1514, allocations: 4 kB / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1514, allocations: 0 / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1514, allocations: 0 / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.152, allocations: 429.2 kB / 0.4903 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.152, allocations: 0 / 0.4903 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.1528, allocations: 207.8 kB / 0.4905 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1529, allocations: 4 kB / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1529, allocations: 15.92 kB / 0.4905 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.1567, allocations: 7.31 MB / 0.4976 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1568, allocations: 8.078 kB / 0.4977 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.1576, allocations: 0.5036 MB / 0.4981 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.1578, allocations: 132.5 kB / 0.4983 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.1579, allocations: 4 kB / 0.4983 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.1582, allocations: 11.94 kB / 0.4983 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.1583, allocations: 31.95 kB / 0.4983 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.1583, allocations: 16 kB / 0.4983 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000469/0.1588, allocations: 391 kB / 0.4987 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1588, allocations: 0 / 0.4987 GB, free: 5.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006207/0.1594, allocations: 131.8 kB / 0.4988 GB, free: 5.328 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.001464/0.1609, allocations: 1.09 MB / 0.4999 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.1626, allocations: 0.5821 MB / 0.5005 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1626, allocations: 0 / 0.5005 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1637, allocations: 348.6 kB / 0.5008 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.1645, allocations: 85.86 kB / 0.5009 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2019/0.3663, allocations: 5.515 MB / 0.5063 GB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3668, allocations: 0.8902 MB / 0.5071 GB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.3673, allocations: 130.8 kB / 0.5073 GB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.3675, allocations: 143.2 kB / 0.5074 GB, free: 41.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3675, allocations: 0 / 0.5074 GB, free: 41.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.4084, allocations: 13.12 MB / 0.5202 GB, free: 38.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.4087, allocations: 282.1 kB / 0.5205 GB, free: 37.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.642, allocations: 1.156 kB / 0.5205 GB, free: 37.7 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches