Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007519/0.0007521, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008206/0.0008207, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.000429, allocations: 11.94 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 63.55 MB / 483.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002373/0.1266, allocations: 1.813 MB / 485.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1293, allocations: 1.792 MB / 487.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1295, allocations: 4 kB / 487.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1298, allocations: 83.5 kB / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.13, allocations: 59.48 kB / 487.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.1308, allocations: 275.1 kB / 487.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1311, allocations: 159 kB / 487.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.473e-05/0.1311, allocations: 20.3 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.1312, allocations: 51.67 kB / 488 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1313, allocations: 59.61 kB / 488.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1314, allocations: 4 kB / 488.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.1327, allocations: 0.7841 MB / 488.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.1327, allocations: 23.8 kB / 488.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.1328, allocations: 101.1 kB / 489 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.1334, allocations: 382.8 kB / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1334, allocations: 0 / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1334, allocations: 0 / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1334, allocations: 0 / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006745/0.1341, allocations: 491.2 kB / 489.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1341, allocations: 9.953 kB / 489.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1342, allocations: 24.66 kB / 489.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1344, allocations: 220.5 kB / 490.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1344, allocations: 16.38 kB / 490.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1345, allocations: 20 kB / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.1349, allocations: 263.5 kB / 490.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1349, allocations: 7.938 kB / 490.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.135, allocations: 7.984 kB / 490.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.135, allocations: 8 kB / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1353, allocations: 164.2 kB / 490.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1364, allocations: 0.9041 MB / 491.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1366, allocations: 70.55 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1367, allocations: 32.95 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1368, allocations: 0 / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1368, allocations: 34.56 kB / 491.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.886e-06/0.1368, allocations: 0 / 491.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005014/0.1373, allocations: 157.3 kB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1374, allocations: 59.34 kB / 491.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1376, allocations: 266.9 kB / 492.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1377, allocations: 25.7 kB / 492.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1378, allocations: 183.1 kB / 492.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1378, allocations: 31.58 kB / 492.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1379, allocations: 25.7 kB / 492.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.138, allocations: 334.8 kB / 492.6 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1381, allocations: 52.2 kB / 492.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.1384, allocations: 190 kB / 492.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1388, allocations: 271.4 kB / 493.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1388, allocations: 4 kB / 493.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005101/0.1393, allocations: 261 kB / 493.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1394, allocations: 8 kB / 493.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.1394, allocations: 16 kB / 493.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1394, allocations: 8 kB / 493.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1396, allocations: 52.47 kB / 493.5 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1396, allocations: 12 kB / 493.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1398, allocations: 43.58 kB / 493.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1398, allocations: 12 kB / 493.5 MB, free: 9.938 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001151/0.1399, allocations: 137.7 kB / 493.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.14, allocations: 27.7 kB / 493.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.1404, allocations: 146.9 kB / 493.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1404, allocations: 7.938 kB / 493.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1404, allocations: 192 / 493.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1405, allocations: 0 / 493.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1407, allocations: 225.5 kB / 494.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.1407, allocations: 8 kB / 494.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1408, allocations: 8 kB / 494.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1408, allocations: 0 / 494.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1408, allocations: 4 kB / 494.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.1408, allocations: 7.922 kB / 494.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1408, allocations: 0 / 494.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1412, allocations: 223.2 kB / 494.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.1413, allocations: 92.83 kB / 494.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1413, allocations: 3.984 kB / 494.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1414, allocations: 15.94 kB / 494.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.1415, allocations: 3.984 kB / 494.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1415, allocations: 4 kB / 494.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1417, allocations: 186 kB / 494.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1417, allocations: 3.938 kB / 494.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.1422, allocations: 100 kB / 494.7 MB, free: 8.652 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.0004938/0.1427, allocations: 203 kB / 494.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.1432, allocations: 216.7 kB / 495.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1432, allocations: 0 / 495.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1435, allocations: 103.4 kB / 495.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1438, allocations: 24.88 kB / 495.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.1446, allocations: 465 kB / 495.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1449, allocations: 0.7365 MB / 496.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.145, allocations: 15.44 kB / 496.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.145, allocations: 0 / 496.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of Templates: time 0.00813/0.1531, allocations: 5.092 MB / 0.4898 GB, free: 1.738 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches