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.0008726/0.0008729, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 4 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003367/0.1214, allocations: 1.731 MB / 484.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1246, allocations: 1.861 MB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1248, allocations: 0 / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1251, allocations: 55.72 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.1255, allocations: 111.5 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.1263, allocations: 306.9 kB / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.1269, allocations: 0.5136 MB / 487.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.127, allocations: 40.72 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.1273, allocations: 143.2 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.1276, allocations: 187.1 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.1277, allocations: 8 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.1286, allocations: 0.5538 MB / 488.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1287, allocations: 95.52 kB / 488.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1289, allocations: 180.6 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009952/0.1299, allocations: 0.627 MB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1299, allocations: 0 / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.13, allocations: 4 kB / 489.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.13, allocations: 0 / 489.5 MB, free: 13.69 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.001337/0.1313, allocations: 0.6163 MB / 490.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1314, allocations: 8.875 kB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1315, allocations: 40.47 kB / 490.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.1319, allocations: 283.6 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.132, allocations: 25.38 kB / 490.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1321, allocations: 36.36 kB / 490.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.1331, allocations: 0.5611 MB / 491.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1331, allocations: 0 / 491.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.1331, allocations: 16 kB / 491.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.1332, allocations: 44.97 kB / 491.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009909/0.1342, allocations: 0.5816 MB / 491.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1362, allocations: 1.179 MB / 492.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.1369, allocations: 378.2 kB / 493.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1372, allocations: 141 kB / 493.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.1372, allocations: 19.86 kB / 493.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1372, allocations: 42.48 kB / 493.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 3.376e-06/0.1372, allocations: 3.984 kB / 493.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001054/0.1383, allocations: 480.3 kB / 493.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1384, allocations: 55.41 kB / 494 MB, free: 9.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.1389, allocations: 453.6 kB / 494.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1389, allocations: 29.7 kB / 494.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1391, allocations: 184.4 kB / 494.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1392, allocations: 82.84 kB / 494.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1392, allocations: 21.7 kB / 494.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1394, allocations: 354.8 kB / 495.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1396, allocations: 123.8 kB / 495.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.1399, allocations: 123.8 kB / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1404, allocations: 276.6 kB / 495.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1404, allocations: 0 / 495.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000709/0.1411, allocations: 348.6 kB / 495.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1412, allocations: 12 kB / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1412, allocations: 0 / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1412, allocations: 3.938 kB / 495.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.1419, allocations: 159.8 kB / 496.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.1451, allocations: 5.524 MB / 0.4899 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1454, allocations: 47.47 kB / 0.4899 GB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1454, allocations: 11.98 kB / 0.4899 GB, free: 1.07 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.0002075/0.1456, allocations: 193.8 kB / 0.4901 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.1457, allocations: 35.62 kB / 0.4901 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.1466, allocations: 464.5 kB / 0.4906 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1466, allocations: 0 / 0.4906 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1467, allocations: 8 kB / 0.4906 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1467, allocations: 7.922 kB / 0.4906 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1472, allocations: 377.3 kB / 0.491 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1472, allocations: 0 / 0.491 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.1479, allocations: 151.9 kB / 0.4911 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.1479, allocations: 4 kB / 0.4911 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1479, allocations: 11.98 kB / 0.4911 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.1507, allocations: 5.524 MB / 0.4965 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1507, allocations: 3.938 kB / 0.4965 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.1514, allocations: 459 kB / 0.497 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1515, allocations: 120.6 kB / 0.4971 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.1516, allocations: 4 kB / 0.4971 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1518, allocations: 11.98 kB / 0.4971 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.1519, allocations: 23.97 kB / 0.4971 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.1519, allocations: 15.94 kB / 0.4971 GB, free: 9.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.1523, allocations: 335.1 kB / 0.4974 GB, free: 9.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1523, allocations: 0 / 0.4974 GB, free: 9.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1528, allocations: 143.9 kB / 0.4976 GB, free: 8.914 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.000382/0.1532, allocations: 210.9 kB / 0.4978 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.1543, allocations: 414.8 kB / 0.4982 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1543, allocations: 0 / 0.4982 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.1552, allocations: 291.6 kB / 0.4985 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1557, allocations: 85.44 kB / 0.4985 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.157, allocations: 0.9054 MB / 0.4994 GB, free: 7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1575, allocations: 0.8582 MB / 0.5003 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.1577, allocations: 83.22 kB / 0.5003 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.1578, allocations: 27.42 kB / 0.5004 GB, free: 6.008 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1578, allocations: 3.938 kB / 0.5004 GB, free: 6.004 MB / 382.1 MB Notification: Performance of Templates: time 0.211/0.3688, allocations: 8.119 MB / 0.5083 GB, free: 41.66 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 -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/jenkins/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/jenkins/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