Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 80.98 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003972/0.1293, allocations: 2.012 MB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.132, allocations: 1.872 MB / 485.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1321, allocations: 4 kB / 485.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1324, allocations: 59.66 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1328, allocations: 119.4 kB / 485.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.1336, allocations: 354.6 kB / 485.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.134, allocations: 390.1 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.1341, allocations: 44.72 kB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1344, allocations: 151.2 kB / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1346, allocations: 183.1 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.1346, allocations: 11.94 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007807/0.1354, allocations: 0.5616 MB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1355, allocations: 99.53 kB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1357, allocations: 150.9 kB / 487.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007371/0.1364, allocations: 0.6463 MB / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1364, allocations: 0 / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1364, allocations: 0 / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1365, allocations: 0 / 488.1 MB, free: 13.84 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009941/0.1375, allocations: 0.6786 MB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1375, allocations: 12.03 kB / 488.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.1376, allocations: 40.41 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.138, allocations: 287.6 kB / 489.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.138, allocations: 25.38 kB / 489.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.1381, allocations: 40.34 kB / 489.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.1389, allocations: 0.5532 MB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1389, allocations: 0 / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.1389, allocations: 12 kB / 489.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.139, allocations: 44.97 kB / 489.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.1399, allocations: 0.5698 MB / 490.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.1415, allocations: 1.179 MB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.1421, allocations: 377.7 kB / 491.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.1424, allocations: 136.9 kB / 492 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.1424, allocations: 7.938 kB / 492.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1425, allocations: 38.55 kB / 492.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.1425, allocations: 0 / 492.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008942/0.1434, allocations: 460.8 kB / 492.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1434, allocations: 55.41 kB / 492.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.1439, allocations: 449.7 kB / 493 MB, free: 8.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1439, allocations: 41.64 kB / 493.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.144, allocations: 184.4 kB / 493.3 MB, free: 8.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.1441, allocations: 78.84 kB / 493.3 MB, free: 8.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.1442, allocations: 53.69 kB / 493.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1443, allocations: 350.7 kB / 493.7 MB, free: 8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1446, allocations: 115.9 kB / 493.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1448, allocations: 119.1 kB / 494 MB, free: 7.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.1453, allocations: 264.6 kB / 494.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1453, allocations: 0 / 494.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005851/0.1459, allocations: 341 kB / 494.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1459, allocations: 8 kB / 494.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1459, allocations: 3.938 kB / 494.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.146, allocations: 3.984 kB / 494.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.1467, allocations: 163.8 kB / 494.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.1495, allocations: 5.516 MB / 0.4885 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1497, allocations: 43.75 kB / 0.4886 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1498, allocations: 19.98 kB / 0.4886 GB, free: 1.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.15, allocations: 193.6 kB / 0.4888 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.1501, allocations: 31.62 kB / 0.4888 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.1509, allocations: 455.4 kB / 0.4892 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1509, allocations: 4 kB / 0.4892 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1509, allocations: 0 / 0.4892 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.1509, allocations: 3.984 kB / 0.4892 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.1514, allocations: 381.2 kB / 0.4896 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1514, allocations: 0 / 0.4896 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.1521, allocations: 151.9 kB / 0.4897 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1521, allocations: 4 kB / 0.4897 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.1521, allocations: 11.98 kB / 0.4898 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.1549, allocations: 5.512 MB / 0.4951 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1549, allocations: 7.922 kB / 0.4952 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.1556, allocations: 446.8 kB / 0.4956 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1557, allocations: 120.8 kB / 0.4957 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.1558, allocations: 4 kB / 0.4957 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.156, allocations: 11.98 kB / 0.4957 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.156, allocations: 23.92 kB / 0.4957 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1561, allocations: 11.98 kB / 0.4957 GB, free: 9.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.1564, allocations: 343 kB / 0.4961 GB, free: 9.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1564, allocations: 0 / 0.4961 GB, free: 9.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.1569, allocations: 143.9 kB / 0.4962 GB, free: 9.086 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {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.0004148/0.1574, allocations: 215 kB / 0.4964 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.1585, allocations: 404.7 kB / 0.4968 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1585, allocations: 0 / 0.4968 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.1593, allocations: 279 kB / 0.4971 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1598, allocations: 85.45 kB / 0.4971 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1611, allocations: 0.7896 MB / 0.4979 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.1615, allocations: 0.8503 MB / 0.4987 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1617, allocations: 83.22 kB / 0.4988 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.1618, allocations: 35.42 kB / 0.4989 GB, free: 6.309 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1618, allocations: 4 kB / 0.4989 GB, free: 6.305 MB / 382.1 MB Notification: Performance of Templates: time 0.2455/0.4073, allocations: 8.634 MB / 0.5073 GB, free: 42.92 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches