Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 77 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.149, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003601/0.1527, allocations: 2.126 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1547, allocations: 1.41 MB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.1548, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1552, allocations: 87.44 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1554, allocations: 67.41 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.1559, allocations: 215.1 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1561, allocations: 143 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.1561, allocations: 16.3 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1563, allocations: 71.52 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.1564, allocations: 59.66 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1564, allocations: 4 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.157, allocations: 431.3 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.1571, allocations: 23.8 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1572, allocations: 67.48 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.1577, allocations: 450.4 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1577, allocations: 0 / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1578, allocations: 0 / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1578, allocations: 0 / 485.2 MB, free: 120 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006237/0.1584, allocations: 0.4909 MB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1584, allocations: 9.109 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1585, allocations: 24.66 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1587, allocations: 208 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1587, allocations: 20.31 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1588, allocations: 24.12 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1591, allocations: 198.7 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1592, allocations: 0 / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.1592, allocations: 8 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1592, allocations: 4 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.1595, allocations: 152.2 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.1603, allocations: 0.5791 MB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1605, allocations: 62.55 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1606, allocations: 28.95 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1606, allocations: 0 / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1607, allocations: 38.56 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1607, allocations: 0 / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004592/0.1611, allocations: 137.3 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1612, allocations: 55.41 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1614, allocations: 254.6 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1614, allocations: 25.7 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.1615, allocations: 167.6 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1616, allocations: 19.75 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.1616, allocations: 41.61 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1618, allocations: 338.8 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1619, allocations: 35.97 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1621, allocations: 131.2 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1624, allocations: 192.8 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1624, allocations: 0 / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004022/0.1628, allocations: 197.2 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1629, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.1629, allocations: 19.98 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1629, allocations: 4 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1631, allocations: 35.91 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1631, allocations: 4.438 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1632, allocations: 43.53 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1632, allocations: 8 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001069/0.1634, allocations: 137.7 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1634, allocations: 15.81 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.1638, allocations: 134.9 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1638, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1638, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1638, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.164, allocations: 229.4 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.1641, allocations: 8 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1641, allocations: 15.92 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1641, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1641, allocations: 8 kB / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1642, allocations: 0 / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1642, allocations: 4 kB / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1645, allocations: 199.3 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.1645, allocations: 96.81 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1646, allocations: 4 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1647, allocations: 11.98 kB / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1647, allocations: 4 kB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1647, allocations: 4 kB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1649, allocations: 182 kB / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1649, allocations: 0 / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1653, allocations: 75.94 kB / 489.8 MB, free: 11.09 MB / 366.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002815/0.1656, allocations: 163.1 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.166, allocations: 175.6 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.166, allocations: 0 / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1662, allocations: 103.8 kB / 490.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1666, allocations: 24.88 kB / 490.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.1672, allocations: 364.1 kB / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1675, allocations: 0.732 MB / 491.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.321e-05/0.1675, allocations: 17.55 kB / 491.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1676, allocations: 15.44 kB / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1676, allocations: 0 / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of Templates: time 0.007578/0.1752, allocations: 4.189 MB / 495.6 MB, free: 5.277 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches