Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 108.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.4 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.2377/0.2377, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 73.81 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1228, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003972/0.1268, allocations: 2.733 MB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.129, allocations: 1.492 MB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1292, allocations: 4 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1295, allocations: 99.47 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1299, allocations: 115 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.1304, allocations: 227.4 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1307, allocations: 278.1 kB / 484.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.1308, allocations: 28.67 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1309, allocations: 95.41 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1311, allocations: 131.2 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1311, allocations: 4 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.1322, allocations: 0.6046 MB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.1322, allocations: 35.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1324, allocations: 139 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.1331, allocations: 0.5526 MB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1331, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1332, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1332, allocations: 0 / 486 MB, free: 15.05 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008972/0.1341, allocations: 0.6317 MB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1341, allocations: 8.031 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.1342, allocations: 40.47 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1345, allocations: 239.6 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.1345, allocations: 33.38 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.1346, allocations: 40.12 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.1353, allocations: 0.5726 MB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1353, allocations: 7.938 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.1354, allocations: 19.94 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1354, allocations: 12 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.1359, allocations: 333 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.1384, allocations: 4.051 MB / 492 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1387, allocations: 90.47 kB / 492.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1389, allocations: 36.97 kB / 492.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1389, allocations: 3.984 kB / 492.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1389, allocations: 38.55 kB / 492.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.139, allocations: 4 kB / 492.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005342/0.1395, allocations: 161.2 kB / 492.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1395, allocations: 55.34 kB / 492.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.14, allocations: 413.7 kB / 492.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.14, allocations: 25.7 kB / 492.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1402, allocations: 258.9 kB / 493.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1402, allocations: 27.64 kB / 493.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.1403, allocations: 69.92 kB / 493.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1405, allocations: 350.7 kB / 493.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1406, allocations: 56.62 kB / 493.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1409, allocations: 263.2 kB / 493.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1414, allocations: 364.2 kB / 494.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1414, allocations: 0 / 494.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005862/0.142, allocations: 353 kB / 494.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1421, allocations: 8 kB / 494.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1421, allocations: 11.98 kB / 494.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.1421, allocations: 8 kB / 494.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.1426, allocations: 111.8 kB / 494.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/0.1433, allocations: 1.219 MB / 495.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1436, allocations: 63.28 kB / 495.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1437, allocations: 20 kB / 495.9 MB, free: 4.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.1438, allocations: 153.6 kB / 496.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1439, allocations: 43.66 kB / 496.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.1443, allocations: 172.8 kB / 496.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1443, allocations: 4 kB / 496.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1443, allocations: 0 / 496.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1443, allocations: 0 / 496.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1447, allocations: 277.5 kB / 496.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1447, allocations: 3.938 kB / 496.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.145, allocations: 51.97 kB / 496.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.145, allocations: 0 / 496.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.145, allocations: 8 kB / 496.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006545/0.1457, allocations: 1.203 MB / 497.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1457, allocations: 0 / 497.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1461, allocations: 235.2 kB / 498.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.1462, allocations: 112.6 kB / 498.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.1462, allocations: 11.88 kB / 498.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1464, allocations: 0 / 498.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1464, allocations: 11.98 kB / 498.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1465, allocations: 4 kB / 498.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.1467, allocations: 279.1 kB / 498.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1467, allocations: 0 / 498.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000518/0.1473, allocations: 108 kB / 498.6 MB, free: 1.566 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003865/0.1476, allocations: 179.7 kB / 498.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1482, allocations: 213.6 kB / 499 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1483, allocations: 0 / 499 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.1485, allocations: 79.89 kB / 499.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.149, allocations: 42.5 kB / 499.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1502, allocations: 0.5952 MB / 499.7 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.1508, allocations: 0.7678 MB / 0.4887 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.151, allocations: 38.89 kB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.1511, allocations: 23.44 kB / 0.4888 GB, free: 15.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1511, allocations: 0 / 0.4888 GB, free: 15.58 MB / 382.1 MB Notification: Performance of Templates: time 0.0112/0.1623, allocations: 6.249 MB / 0.4949 GB, free: 9.387 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches