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.001143/0.001143, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 77.66 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1522, allocations: 62.45 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.004026/0.1563, allocations: 2.015 MB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1586, allocations: 1.172 MB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.1588, allocations: 4 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.1592, allocations: 59.7 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.1596, allocations: 95.55 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.1603, allocations: 135.5 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007543/0.161, allocations: 0.5757 MB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1611, allocations: 57.02 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1614, allocations: 155.1 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.1618, allocations: 207 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.1619, allocations: 12 kB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.1624, allocations: 271.5 kB / 484.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1626, allocations: 91.53 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.1628, allocations: 186.8 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.1636, allocations: 0.5528 MB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1636, allocations: 0 / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1636, allocations: 0 / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1636, allocations: 0 / 485 MB, free: 52 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001235/0.1649, allocations: 0.7297 MB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1649, allocations: 12.03 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.1651, allocations: 102.7 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1652, allocations: 48.38 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.1656, allocations: 291.6 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.1657, allocations: 37.69 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.1658, allocations: 47.94 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1668, allocations: 0.6349 MB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1669, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.1669, allocations: 23.94 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.167, allocations: 45.17 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.1679, allocations: 0.5047 MB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.1706, allocations: 1.418 MB / 488.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.1714, allocations: 426.2 kB / 489.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.1717, allocations: 140.8 kB / 489.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/0.1717, allocations: 15.92 kB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1718, allocations: 38.5 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.1718, allocations: 0 / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001016/0.1728, allocations: 0.5007 MB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1728, allocations: 59.41 kB / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.1735, allocations: 0.5446 MB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1735, allocations: 33.7 kB / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1737, allocations: 228 kB / 490.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.1738, allocations: 82.81 kB / 490.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.174, allocations: 89.92 kB / 491 MB, free: 9.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1742, allocations: 358.7 kB / 491.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.1745, allocations: 160.2 kB / 491.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.1748, allocations: 252.7 kB / 491.7 MB, free: 9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.1789, allocations: 1.053 MB / 492.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1789, allocations: 0 / 492.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008378/0.1797, allocations: 0.5005 MB / 493.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1798, allocations: 8 kB / 493.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-05/0.1798, allocations: 43.92 kB / 493.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.1799, allocations: 11.98 kB / 493.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1801, allocations: 39.92 kB / 493.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.1801, allocations: 8.391 kB / 493.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1804, allocations: 59.31 kB / 493.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.1805, allocations: 20 kB / 493.5 MB, free: 7.211 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.1809, allocations: 221.6 kB / 493.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/0.181, allocations: 43.44 kB / 493.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/0.182, allocations: 0.5439 MB / 494.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.182, allocations: 8 kB / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.182, allocations: 0 / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.182, allocations: 3.938 kB / 494.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.1826, allocations: 429.1 kB / 494.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.339e-05/0.1827, allocations: 43.98 kB / 494.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1829, allocations: 24 kB / 494.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1829, allocations: 7.984 kB / 494.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.1829, allocations: 12 kB / 494.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1829, allocations: 0 / 494.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1829, allocations: 7.938 kB / 494.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.184, allocations: 0.7101 MB / 495.5 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1841, allocations: 120.6 kB / 495.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.1842, allocations: 8 kB / 495.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1844, allocations: 4 kB / 495.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1845, allocations: 23.97 kB / 495.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.1845, allocations: 16 kB / 495.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004646/0.185, allocations: 411.1 kB / 496.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.185, allocations: 0 / 496.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000519/0.1855, allocations: 143.8 kB / 496.2 MB, free: 4.363 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.001629/0.1872, allocations: 1.314 MB / 497.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000838/0.188, allocations: 0.6725 MB / 498.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.188, allocations: 4 kB / 498.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1885, allocations: 488.3 kB / 498.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.189, allocations: 93.16 kB / 498.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.1961, allocations: 5.582 MB / 0.4925 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.1966, allocations: 0.8822 MB / 0.4934 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.1969, allocations: 116.2 kB / 0.4935 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.1971, allocations: 135.4 kB / 0.4936 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1971, allocations: 0 / 0.4936 GB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.4503, allocations: 12.27 MB / 0.5056 GB, free: 41.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.4505, allocations: 248.6 kB / 0.5059 GB, free: 41.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.765, allocations: 0.8438 kB / 0.5059 GB, free: 41.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches