Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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,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.|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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,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.|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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.449/0.449, allocations: 46.11 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 78.16 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2135, allocations: 62.44 MB / 480 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.005421/0.219, allocations: 2.175 MB / 482.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2219, allocations: 1.301 MB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.2222, allocations: 0 / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.2226, allocations: 59.66 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.2231, allocations: 87.5 kB / 483.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.224, allocations: 175.4 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.2249, allocations: 0.5213 MB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2251, allocations: 44.72 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.2256, allocations: 151.2 kB / 484.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.2261, allocations: 191 kB / 484.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.2261, allocations: 16 kB / 484.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006432/0.2268, allocations: 267.5 kB / 484.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.227, allocations: 91.52 kB / 485 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.2273, allocations: 162.9 kB / 485.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.2279, allocations: 367.2 kB / 485.5 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2279, allocations: 0 / 485.5 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2279, allocations: 4 kB / 485.5 MB, free: 152 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2279, allocations: 0 / 485.5 MB, free: 152 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.001676/0.2296, allocations: 0.7097 MB / 486.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.2297, allocations: 8.875 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.2302, allocations: 76.42 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.2307, allocations: 292.3 kB / 486.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2307, allocations: 29.38 kB / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.2308, allocations: 36.38 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2319, allocations: 0.582 MB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2319, allocations: 0 / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.232, allocations: 16 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.232, allocations: 20.98 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.2329, allocations: 435.5 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.2352, allocations: 1.379 MB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.2359, allocations: 267.6 kB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.2363, allocations: 138.5 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.2364, allocations: 11.92 kB / 489.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.2364, allocations: 38.56 kB / 489.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.2364, allocations: 0 / 489.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001354/0.2378, allocations: 464.8 kB / 490 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.2379, allocations: 106.8 kB / 490.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.2386, allocations: 0.4981 MB / 490.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.2386, allocations: 33.7 kB / 490.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2388, allocations: 204.2 kB / 490.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.2389, allocations: 59.19 kB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2391, allocations: 49.7 kB / 490.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2393, allocations: 350.8 kB / 491.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.2397, allocations: 127.9 kB / 491.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.2402, allocations: 176.4 kB / 491.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.241, allocations: 307.7 kB / 491.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.241, allocations: 0 / 491.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009433/0.242, allocations: 384.7 kB / 492.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.242, allocations: 7.938 kB / 492.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/0.2421, allocations: 28 kB / 492.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2421, allocations: 0 / 492.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2424, allocations: 39.95 kB / 492.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2424, allocations: 0 / 492.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.2427, allocations: 55.58 kB / 492.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.2428, allocations: 19.98 kB / 492.4 MB, free: 8.961 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.0002326/0.243, allocations: 181.7 kB / 492.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2431, allocations: 43.47 kB / 492.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.244, allocations: 380.6 kB / 493 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.244, allocations: 4 kB / 493 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2441, allocations: 3.938 kB / 493 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2441, allocations: 3.984 kB / 493 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.2447, allocations: 365.3 kB / 493.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.2448, allocations: 27.98 kB / 493.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2449, allocations: 23.97 kB / 493.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.245, allocations: 7.938 kB / 493.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.245, allocations: 8 kB / 493.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.245, allocations: 11.98 kB / 493.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.245, allocations: 4 kB / 493.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2461, allocations: 0.5813 MB / 494 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2463, allocations: 124.5 kB / 494.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.2464, allocations: 8 kB / 494.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.2467, allocations: 15.97 kB / 494.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.2468, allocations: 19.98 kB / 494.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2468, allocations: 12 kB / 494.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004568/0.2473, allocations: 375 kB / 494.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2473, allocations: 0 / 494.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.2479, allocations: 119.9 kB / 494.7 MB, free: 6.578 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.0004256/0.2484, allocations: 167.2 kB / 494.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2494, allocations: 0.5185 MB / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2495, allocations: 0 / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.25, allocations: 383.4 kB / 495.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.2509, allocations: 89.52 kB / 495.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.2528, allocations: 0.9387 MB / 496.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.2535, allocations: 0.8422 MB / 497.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.2536, allocations: 27.42 kB / 497.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2536, allocations: 0 / 497.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of Templates: time 0.01512/0.2687, allocations: 6.984 MB / 0.4928 GB, free: 12.49 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches