Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 202.3 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007542, allocations: 97.8 kB / 295.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1792/0.1792, allocations: 44.83 MB / 392 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 8 kB / 464.8 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08203, allocations: 62.95 MB / 0.5153 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.001988/0.08406, allocations: 1.682 MB / 0.517 GB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.0853, allocations: 0.8458 MB / 0.5178 GB, free: 244 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.08541, allocations: 4 kB / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.08563, allocations: 51.72 kB / 0.5179 GB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.08594, allocations: 119.5 kB / 0.518 GB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.08615, allocations: 63.81 kB / 0.518 GB, free: 4 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1595/0.2456, allocations: 451.4 kB / 0.5185 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.2457, allocations: 43.03 kB / 0.5185 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.246, allocations: 142.9 kB / 0.5186 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.2462, allocations: 183.2 kB / 0.5188 GB, free: 9.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2463, allocations: 8.031 kB / 0.5188 GB, free: 9.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.2466, allocations: 137.3 kB / 0.519 GB, free: 9.773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.2467, allocations: 93.55 kB / 0.5191 GB, free: 9.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.2467, allocations: 80.48 kB / 0.5191 GB, free: 9.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.2471, allocations: 304.7 kB / 0.5194 GB, free: 9.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2471, allocations: 2 kB / 0.5194 GB, free: 9.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2471, allocations: 0 / 0.5194 GB, free: 9.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2471, allocations: 1.25 kB / 0.5194 GB, free: 9.668 MB / 346.7 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.0007917/0.2479, allocations: 0.5922 MB / 0.52 GB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.248, allocations: 9.156 kB / 0.52 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.248, allocations: 39.39 kB / 0.52 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.2483, allocations: 283.7 kB / 0.5203 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.2484, allocations: 25.86 kB / 0.5203 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.2484, allocations: 34.11 kB / 0.5204 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.2492, allocations: 0.5549 MB / 0.5209 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2492, allocations: 0.9688 kB / 0.5209 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.2493, allocations: 15.91 kB / 0.5209 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.2494, allocations: 39.59 kB / 0.521 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.2503, allocations: 0.5815 MB / 0.5215 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.2519, allocations: 1.176 MB / 0.5227 GB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.2525, allocations: 388.4 kB / 0.5231 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2528, allocations: 138.8 kB / 0.5232 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.2528, allocations: 8.391 kB / 0.5232 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2528, allocations: 41.06 kB / 0.5232 GB, free: 8.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.2529, allocations: 1.031 kB / 0.5232 GB, free: 8.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009881/0.2538, allocations: 476 kB / 0.5237 GB, free: 8.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.2539, allocations: 54.5 kB / 0.5237 GB, free: 8.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.2544, allocations: 451.6 kB / 0.5242 GB, free: 8.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2544, allocations: 30.77 kB / 0.5242 GB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.2545, allocations: 188.7 kB / 0.5244 GB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.2545, allocations: 75.73 kB / 0.5245 GB, free: 7.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.2546, allocations: 5.438 kB / 0.5245 GB, free: 7.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.2546, allocations: 353.2 kB / 0.5248 GB, free: 7.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.2549, allocations: 120.3 kB / 0.5249 GB, free: 7.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.2551, allocations: 132.6 kB / 0.525 GB, free: 7.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2554, allocations: 129.7 kB / 0.5252 GB, free: 7.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2554, allocations: 3.938 kB / 0.5252 GB, free: 7.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006094/0.256, allocations: 352.3 kB / 0.5255 GB, free: 7.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.256, allocations: 6.062 kB / 0.5255 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.256, allocations: 0.5156 kB / 0.5255 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2561, allocations: 2.188 kB / 0.5255 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.2568, allocations: 157.7 kB / 0.5257 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.2585, allocations: 5.518 MB / 0.5311 GB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.2587, allocations: 48.28 kB / 0.5311 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2588, allocations: 15.44 kB / 0.5311 GB, free: 2.273 MB / 346.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.259, allocations: 199.8 kB / 0.5313 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.259, allocations: 31.88 kB / 0.5313 GB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008258/0.2599, allocations: 466.9 kB / 0.5318 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2599, allocations: 2.797 kB / 0.5318 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2599, allocations: 1.031 kB / 0.5318 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2599, allocations: 1.641 kB / 0.5318 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.2603, allocations: 382.1 kB / 0.5321 GB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2603, allocations: 0 / 0.5321 GB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.261, allocations: 157 kB / 0.5323 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.261, allocations: 1.953 kB / 0.5323 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.261, allocations: 12.84 kB / 0.5323 GB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.2633, allocations: 5.52 MB / 0.5377 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2634, allocations: 4.281 kB / 0.5377 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.2641, allocations: 454.5 kB / 0.5381 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2642, allocations: 124.2 kB / 0.5383 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.2642, allocations: 1.375 kB / 0.5383 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2644, allocations: 18.31 kB / 0.5383 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.2645, allocations: 23.98 kB / 0.5383 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.2646, allocations: 10.89 kB / 0.5383 GB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000368/0.2649, allocations: 337.2 kB / 0.5386 GB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2649, allocations: 0 / 0.5386 GB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.2653, allocations: 100.9 kB / 0.5387 GB, free: 11.84 MB / 362.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002257/0.2656, allocations: 135.8 kB / 0.5389 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2667, allocations: 405.5 kB / 0.5392 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2667, allocations: 0 / 0.5392 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.2675, allocations: 288.4 kB / 0.5395 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.268, allocations: 86.45 kB / 0.5396 GB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2693, allocations: 0.9108 MB / 0.5405 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.2697, allocations: 0.843 MB / 0.5413 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.2698, allocations: 32.12 kB / 0.5413 GB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2699, allocations: 4 kB / 0.5413 GB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01997/0.2898, allocations: 19.13 MB / 0.56 GB, free: 14.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches