Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001671, 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.001913/0.001913, 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 2.32/2.32, allocations: 227.4 MB / 246.9 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4627/0.4627, allocations: 46.1 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002346, allocations: 76.89 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2137, allocations: 62.44 MB / 480 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.006749/0.2205, allocations: 2.183 MB / 482.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.224, allocations: 1.223 MB / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.2244, allocations: 3.938 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.2249, allocations: 59.7 kB / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.2255, allocations: 87.5 kB / 483.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.2265, allocations: 159.2 kB / 483.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.2276, allocations: 0.5135 MB / 484.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2277, allocations: 48.72 kB / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.2283, allocations: 151.2 kB / 484.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.2289, allocations: 191 kB / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.229, allocations: 12 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008347/0.2298, allocations: 219.6 kB / 484.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.2301, allocations: 87.53 kB / 484.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.2305, allocations: 166.8 kB / 485 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.2312, allocations: 363.2 kB / 485.4 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2313, allocations: 4 kB / 485.4 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2313, allocations: 0 / 485.4 MB, free: 248 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.2313, allocations: 0 / 485.4 MB, free: 248 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0021/0.2334, allocations: 0.7058 MB / 486.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.2335, allocations: 8.875 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.2341, allocations: 76.42 kB / 486.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.2347, allocations: 296.3 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.2348, allocations: 33.36 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.2349, allocations: 36.38 kB / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.2363, allocations: 0.578 MB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2364, allocations: 0 / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.2365, allocations: 16 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.2365, allocations: 21 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2378, allocations: 431.5 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.2408, allocations: 1.379 MB / 489 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.2416, allocations: 279.5 kB / 489.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.2422, allocations: 134.5 kB / 489.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.2423, allocations: 8 kB / 489.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.2423, allocations: 34.56 kB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.366e-06/0.2423, allocations: 0 / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001888/0.2442, allocations: 463.7 kB / 489.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.2443, allocations: 106.8 kB / 490 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.2452, allocations: 0.5095 MB / 490.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.2453, allocations: 25.7 kB / 490.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2456, allocations: 200.2 kB / 490.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.2457, allocations: 67.17 kB / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2458, allocations: 49.7 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.2461, allocations: 354.8 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.2465, allocations: 123.9 kB / 491.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.247, allocations: 168.2 kB / 491.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.248, allocations: 312.8 kB / 491.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.248, allocations: 0 / 491.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001241/0.2493, allocations: 379.7 kB / 492.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.2494, allocations: 11.94 kB / 492.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.982e-05/0.2495, allocations: 32.14 kB / 492.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.2495, allocations: 4 kB / 492.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.2499, allocations: 31.97 kB / 492.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.2499, allocations: 4 kB / 492.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.2503, allocations: 55.44 kB / 492.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.2504, allocations: 12 kB / 492.3 MB, free: 9.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000371/0.2508, allocations: 185.7 kB / 492.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.251, allocations: 47.38 kB / 492.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2521, allocations: 380.6 kB / 492.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2522, allocations: 7.938 kB / 492.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.2522, allocations: 4 kB / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2522, allocations: 0 / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008662/0.2531, allocations: 365.3 kB / 493.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.455e-05/0.2532, allocations: 31.98 kB / 493.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2534, allocations: 31.91 kB / 493.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.2534, allocations: 3.938 kB / 493.3 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.2535, allocations: 8 kB / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2535, allocations: 0 / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.2535, allocations: 3.984 kB / 493.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.2548, allocations: 0.5701 MB / 493.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.255, allocations: 128.5 kB / 494 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.2551, allocations: 4 kB / 494 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.2555, allocations: 19.92 kB / 494 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.2557, allocations: 27.97 kB / 494 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.2557, allocations: 16 kB / 494.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.2564, allocations: 375 kB / 494.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2564, allocations: 3.938 kB / 494.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008081/0.2572, allocations: 107.9 kB / 494.5 MB, free: 6.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004247/0.2576, allocations: 155.1 kB / 494.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.2589, allocations: 0.5187 MB / 495.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.259, allocations: 0 / 495.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.2598, allocations: 383.1 kB / 495.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.261, allocations: 97.55 kB / 495.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.264, allocations: 0.9341 MB / 496.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.2648, allocations: 0.846 MB / 497.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.265, allocations: 23.44 kB / 497.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of SimCode: time 2.545e-06/0.265, allocations: 4 kB / 497.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of Templates: time 0.01923/0.2842, allocations: 6.959 MB / 0.4926 GB, free: 12.62 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches