Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.00139, allocations: 190.9 kB / 16.1 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 243.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007803/0.0007803, allocations: 89.16 kB / 295.5 MB, free: 6.844 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.349/0.349, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2759, allocations: 62.96 MB / 0.5159 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.001672/0.2776, allocations: 1.779 MB / 0.5176 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2796, allocations: 1.936 MB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2797, allocations: 0 / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.28, allocations: 49.56 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2802, allocations: 107 kB / 0.5197 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.281, allocations: 340 kB / 0.52 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2814, allocations: 488.3 kB / 0.5205 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.2815, allocations: 49.75 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2817, allocations: 158.6 kB / 0.5207 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2819, allocations: 197.1 kB / 0.5209 GB, free: 33.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.2819, allocations: 11.56 kB / 0.5209 GB, free: 33.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000702/0.2826, allocations: 0.5764 MB / 0.5214 GB, free: 33.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2828, allocations: 118.5 kB / 0.5215 GB, free: 33.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2829, allocations: 191 kB / 0.5217 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.2834, allocations: 481 kB / 0.5222 GB, free: 33.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2834, allocations: 0 / 0.5222 GB, free: 33.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2834, allocations: 0 / 0.5222 GB, free: 33.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2834, allocations: 0 / 0.5222 GB, free: 33.28 MB / 378.7 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.001029/0.2844, allocations: 0.6962 MB / 0.5229 GB, free: 32.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2845, allocations: 8.562 kB / 0.5229 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.2848, allocations: 93.72 kB / 0.523 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.2851, allocations: 317.3 kB / 0.5233 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2852, allocations: 29.47 kB / 0.5233 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.2852, allocations: 37.97 kB / 0.5233 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.286, allocations: 0.589 MB / 0.5239 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.286, allocations: 2.5 kB / 0.5239 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.2861, allocations: 13.75 kB / 0.5239 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.2861, allocations: 22.78 kB / 0.5239 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006942/0.2868, allocations: 453.6 kB / 0.5244 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.2883, allocations: 1.386 MB / 0.5257 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.2888, allocations: 294.1 kB / 0.526 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.2891, allocations: 151.2 kB / 0.5262 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.2891, allocations: 6.25 kB / 0.5262 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2892, allocations: 33.44 kB / 0.5262 GB, free: 31.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.2892, allocations: 0 / 0.5262 GB, free: 31.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001089/0.2903, allocations: 496.5 kB / 0.5267 GB, free: 30.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2903, allocations: 105.6 kB / 0.5268 GB, free: 30.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.2908, allocations: 0.5455 MB / 0.5273 GB, free: 30.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2909, allocations: 32.73 kB / 0.5273 GB, free: 30.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.291, allocations: 210.2 kB / 0.5275 GB, free: 30.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.291, allocations: 62.94 kB / 0.5276 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.2911, allocations: 4 kB / 0.5276 GB, free: 30.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.2911, allocations: 351.8 kB / 0.5279 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.2914, allocations: 141 kB / 0.5281 GB, free: 30.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.2917, allocations: 184.4 kB / 0.5282 GB, free: 29.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.2923, allocations: 336.8 kB / 0.5286 GB, free: 29.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2923, allocations: 0 / 0.5286 GB, free: 29.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006784/0.293, allocations: 405.3 kB / 0.5289 GB, free: 29.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.293, allocations: 12.38 kB / 0.529 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-05/0.2931, allocations: 32.69 kB / 0.529 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2931, allocations: 2.688 kB / 0.529 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.2933, allocations: 46.77 kB / 0.529 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2933, allocations: 3.031 kB / 0.529 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2936, allocations: 62.17 kB / 0.5291 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.2936, allocations: 11.72 kB / 0.5291 GB, free: 29.69 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.2938, allocations: 191.2 kB / 0.5293 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.2939, allocations: 47.72 kB / 0.5293 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.2946, allocations: 390 kB / 0.5297 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.2946, allocations: 7 kB / 0.5297 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2946, allocations: 6.812 kB / 0.5297 GB, free: 29.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2946, allocations: 0 / 0.5297 GB, free: 29.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.2951, allocations: 375.5 kB / 0.5301 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.2951, allocations: 30.52 kB / 0.5301 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2953, allocations: 33.53 kB / 0.5301 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2953, allocations: 3.938 kB / 0.5301 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2953, allocations: 14 kB / 0.5302 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2953, allocations: 3 kB / 0.5302 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2953, allocations: 0 / 0.5302 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.296, allocations: 0.5979 MB / 0.5307 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2962, allocations: 159.8 kB / 0.5309 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.2963, allocations: 7.422 kB / 0.5309 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.2966, allocations: 28.12 kB / 0.5309 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.2966, allocations: 11.81 kB / 0.5309 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2967, allocations: 16.03 kB / 0.531 GB, free: 28.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003728/0.297, allocations: 405.6 kB / 0.5313 GB, free: 28.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.2971, allocations: 0 / 0.5313 GB, free: 28.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005472/0.2976, allocations: 162.9 kB / 0.5315 GB, free: 28.45 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/0.298, allocations: 231.9 kB / 0.5317 GB, free: 28.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007551/0.2987, allocations: 0.5398 MB / 0.5322 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2988, allocations: 0 / 0.5322 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.2991, allocations: 398.3 kB / 0.5326 GB, free: 27.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.2998, allocations: 95.95 kB / 0.5327 GB, free: 27.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3011, allocations: 0.9565 MB / 0.5337 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3014, allocations: 0.8579 MB / 0.5345 GB, free: 26.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.3014, allocations: 30.17 kB / 0.5345 GB, free: 26.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3014, allocations: 0 / 0.5345 GB, free: 26.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01321/0.3147, allocations: 7.892 MB / 0.5422 GB, free: 25.13 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches