Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001396, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.702/1.702, allocations: 227.4 MB / 246.9 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.4604/0.4604, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 73.64 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2104, allocations: 62.45 MB / 480 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.005645/0.2161, allocations: 2.082 MB / 482 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.2186, allocations: 0.9231 MB / 483 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2188, allocations: 8 kB / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.2193, allocations: 51.72 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.22, allocations: 115.5 kB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2203, allocations: 75.78 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009043/0.2212, allocations: 0.5136 MB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2214, allocations: 44.72 kB / 483.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.2217, allocations: 135.2 kB / 483.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.2221, allocations: 195.1 kB / 484.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.2222, allocations: 15.98 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.2226, allocations: 143.7 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.2228, allocations: 91.53 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.223, allocations: 151 kB / 484.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.2235, allocations: 303.3 kB / 484.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2236, allocations: 0 / 484.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2236, allocations: 0 / 484.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.2236, allocations: 4 kB / 484.8 MB, free: 0.8672 MB / 350.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.00161/0.2252, allocations: 0.6514 MB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/0.2253, allocations: 12.86 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2255, allocations: 40.47 kB / 485.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.226, allocations: 279.6 kB / 485.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.2261, allocations: 25.38 kB / 485.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.2262, allocations: 36.38 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2275, allocations: 0.5571 MB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2276, allocations: 15.92 kB / 486.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.2276, allocations: 8 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.2278, allocations: 44.97 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.2293, allocations: 0.5698 MB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.2323, allocations: 1.175 MB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2334, allocations: 373.4 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.2338, allocations: 140.8 kB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/0.2339, allocations: 15.92 kB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.234, allocations: 34.59 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 4.098e-06/0.234, allocations: 0 / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001613/0.2356, allocations: 468.8 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.2357, allocations: 51.41 kB / 489.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.2366, allocations: 453.6 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.2366, allocations: 29.7 kB / 489.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.2369, allocations: 188.4 kB / 489.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.237, allocations: 74.84 kB / 490 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.2372, allocations: 57.69 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.2374, allocations: 350.7 kB / 490.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.2378, allocations: 111.9 kB / 490.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.2382, allocations: 127.2 kB / 490.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.239, allocations: 264.5 kB / 490.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.239, allocations: 0 / 490.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001013/0.24, allocations: 348.6 kB / 491.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2401, allocations: 4 kB / 491.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.2401, allocations: 3.938 kB / 491.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.2401, allocations: 0 / 491.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.2413, allocations: 159.9 kB / 491.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.2466, allocations: 5.516 MB / 496.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.2471, allocations: 47.69 kB / 496.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.2473, allocations: 19.98 kB / 497 MB, free: 4.262 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.0004248/0.2477, allocations: 189.6 kB / 497.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2479, allocations: 35.61 kB / 497.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.2493, allocations: 448.5 kB / 497.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2493, allocations: 4 kB / 497.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2494, allocations: 4 kB / 497.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2494, allocations: 0 / 497.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.2503, allocations: 389.1 kB / 498 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2503, allocations: 0 / 498 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.2514, allocations: 155.9 kB / 498.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.2515, allocations: 7.938 kB / 498.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.2515, allocations: 11.98 kB / 498.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/0.2565, allocations: 5.509 MB / 0.4919 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.2565, allocations: 7.875 kB / 0.4919 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2578, allocations: 447 kB / 0.4923 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.2581, allocations: 112.6 kB / 0.4924 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.2582, allocations: 8 kB / 0.4924 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2586, allocations: 11.98 kB / 0.4924 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.2587, allocations: 15.92 kB / 0.4925 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.2588, allocations: 15.98 kB / 0.4925 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007641/0.2596, allocations: 335.1 kB / 0.4928 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2596, allocations: 0 / 0.4928 GB, free: 12.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007491/0.2603, allocations: 99.94 kB / 0.4929 GB, free: 12.2 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.0005054/0.2609, allocations: 147.1 kB / 0.493 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.2627, allocations: 402.6 kB / 0.4934 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.2628, allocations: 0 / 0.4934 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2641, allocations: 275.6 kB / 0.4937 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.2651, allocations: 85.45 kB / 0.4938 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.2677, allocations: 0.9157 MB / 0.4946 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008424/0.2686, allocations: 0.8465 MB / 0.4955 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.2688, allocations: 31.42 kB / 0.4955 GB, free: 9.445 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2688, allocations: 0 / 0.4955 GB, free: 9.445 MB / 382.1 MB Notification: Performance of Templates: time 0.4472/0.716, allocations: 19.15 MB / 0.5142 GB, free: 41.48 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches