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.001529/0.001529, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 64.78 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 62.46 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003595/0.1113, allocations: 2.008 MB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1138, allocations: 1.873 MB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.1139, allocations: 0 / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1142, allocations: 71.53 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1146, allocations: 119.4 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.1154, allocations: 346.6 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.1158, allocations: 390.1 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.1159, allocations: 40.72 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1161, allocations: 159.2 kB / 485.7 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1163, allocations: 183.1 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1164, allocations: 12 kB / 485.9 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.1173, allocations: 0.5499 MB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1174, allocations: 95.53 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1175, allocations: 166.9 kB / 486.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.1183, allocations: 0.631 MB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1183, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1183, allocations: 4 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1183, allocations: 0 / 487.3 MB, free: 14.62 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.0009904/0.1193, allocations: 0.6826 MB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1194, allocations: 8.031 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.1195, allocations: 40.47 kB / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1198, allocations: 275.6 kB / 488.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1198, allocations: 33.36 kB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.1198, allocations: 32.38 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.1206, allocations: 0.5649 MB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1207, allocations: 0 / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1207, allocations: 11.98 kB / 489 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.1208, allocations: 44.97 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009231/0.1217, allocations: 0.5698 MB / 489.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.1233, allocations: 1.179 MB / 490.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.124, allocations: 377.6 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.1242, allocations: 140.8 kB / 491.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1243, allocations: 16.02 kB / 491.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1243, allocations: 34.5 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.1243, allocations: 0 / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.000937/0.1253, allocations: 460.8 kB / 491.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1253, allocations: 63.39 kB / 491.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.1258, allocations: 449.6 kB / 492.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.1258, allocations: 29.7 kB / 492.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1259, allocations: 184.4 kB / 492.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.126, allocations: 78.84 kB / 492.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.1261, allocations: 53.69 kB / 492.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1262, allocations: 350.8 kB / 493 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.1265, allocations: 119.9 kB / 493.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.1268, allocations: 130.8 kB / 493.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1273, allocations: 260.6 kB / 493.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1273, allocations: 0 / 493.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006268/0.1279, allocations: 340.6 kB / 493.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1279, allocations: 6.656 kB / 493.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.128, allocations: 7.938 kB / 493.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.128, allocations: 4 kB / 493.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.1287, allocations: 155.9 kB / 494 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.1316, allocations: 5.516 MB / 499.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1319, allocations: 47.45 kB / 499.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1319, allocations: 11.98 kB / 499.5 MB, free: 1.992 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.000223/0.1321, allocations: 193.6 kB / 499.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.1322, allocations: 31.62 kB / 499.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/0.1331, allocations: 456.5 kB / 0.4885 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1331, allocations: 4 kB / 0.4885 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1331, allocations: 0 / 0.4885 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1331, allocations: 0 / 0.4885 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1336, allocations: 381.2 kB / 0.4888 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1336, allocations: 3.938 kB / 0.4888 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.1343, allocations: 155.9 kB / 0.489 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1343, allocations: 0 / 0.489 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1343, allocations: 8 kB / 0.489 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.1371, allocations: 5.516 MB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1371, allocations: 11.86 kB / 0.4944 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.1378, allocations: 443.1 kB / 0.4948 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1379, allocations: 116.6 kB / 0.4949 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.138, allocations: 11.98 kB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.1382, allocations: 8 kB / 0.495 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.1383, allocations: 23.91 kB / 0.495 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1383, allocations: 11.98 kB / 0.495 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003571/0.1387, allocations: 335.1 kB / 0.4953 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1387, allocations: 4 kB / 0.4953 GB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.1392, allocations: 143.9 kB / 0.4954 GB, free: 9.871 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.0004381/0.1396, allocations: 218.9 kB / 0.4957 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1408, allocations: 432.7 kB / 0.4961 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1408, allocations: 8 kB / 0.4961 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.1417, allocations: 282.6 kB / 0.4963 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.1422, allocations: 88.5 kB / 0.4964 GB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1436, allocations: 0.8203 MB / 0.4972 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.144, allocations: 0.8387 MB / 0.4981 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.1441, allocations: 39.41 kB / 0.4981 GB, free: 7.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1441, allocations: 0 / 0.4981 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Templates: time 0.202/0.3461, allocations: 19.91 MB / 0.5175 GB, free: 39.28 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/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