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.0009052/0.0009053, allocations: 202.1 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.254/1.254, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007876/0.0007875, allocations: 101.5 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 4 kB / 464.8 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07792/0.07819, allocations: 62.95 MB / 0.5154 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.001508/0.07973, allocations: 1.779 MB / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.08147, allocations: 1.925 MB / 0.519 GB, free: 1.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.08154, allocations: 4 kB / 0.519 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.08173, allocations: 51.67 kB / 0.519 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.08192, allocations: 103.5 kB / 0.5191 GB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.0825, allocations: 350 kB / 0.5195 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.0828, allocations: 481.9 kB / 0.5199 GB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.08287, allocations: 48.7 kB / 0.52 GB, free: 372 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.08303, allocations: 159.2 kB / 0.5201 GB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.08319, allocations: 195.1 kB / 0.5203 GB, free: 16 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.08323, allocations: 12 kB / 0.5203 GB, free: 4 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.08398, allocations: 0.5849 MB / 0.5209 GB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.0841, allocations: 99.56 kB / 0.521 GB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.08418, allocations: 85.45 kB / 0.5211 GB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.08466, allocations: 486.9 kB / 0.5215 GB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.08468, allocations: 0 / 0.5215 GB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08469, allocations: 4 kB / 0.5215 GB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.0847, allocations: 0 / 0.5215 GB, free: 14.75 MB / 362.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.001027/0.08573, allocations: 0.7056 MB / 0.5222 GB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.08577, allocations: 12.03 kB / 0.5222 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.08615, allocations: 95.33 kB / 0.5223 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.08648, allocations: 303.4 kB / 0.5226 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.08651, allocations: 29 kB / 0.5226 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.08656, allocations: 36 kB / 0.5227 GB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.08739, allocations: 0.5816 MB / 0.5232 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.08741, allocations: 0 / 0.5232 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.08745, allocations: 16 kB / 0.5233 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.08749, allocations: 24.98 kB / 0.5233 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.08826, allocations: 451.5 kB / 0.5237 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.08984, allocations: 1.391 MB / 0.5251 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.09034, allocations: 283.6 kB / 0.5253 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.09066, allocations: 154.4 kB / 0.5255 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.0907, allocations: 4 kB / 0.5255 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.09073, allocations: 42.56 kB / 0.5255 GB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.09074, allocations: 0 / 0.5255 GB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001082/0.09183, allocations: 499.8 kB / 0.526 GB, free: 9.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.09189, allocations: 110.7 kB / 0.5261 GB, free: 9.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.09244, allocations: 0.5447 MB / 0.5266 GB, free: 9.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.09247, allocations: 25.7 kB / 0.5267 GB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.09262, allocations: 212.2 kB / 0.5269 GB, free: 9.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.09267, allocations: 63.17 kB / 0.5269 GB, free: 8.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.09269, allocations: 4 kB / 0.5269 GB, free: 8.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.09282, allocations: 354.8 kB / 0.5273 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.09313, allocations: 136 kB / 0.5274 GB, free: 8.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.09346, allocations: 184.2 kB / 0.5276 GB, free: 8.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.09379, allocations: 151.9 kB / 0.5277 GB, free: 8.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.0938, allocations: 0 / 0.5277 GB, free: 8.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000774/0.09458, allocations: 424.8 kB / 0.5281 GB, free: 7.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.0946, allocations: 4 kB / 0.5281 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/0.09466, allocations: 28 kB / 0.5282 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.09467, allocations: 3.938 kB / 0.5282 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.09487, allocations: 39.95 kB / 0.5282 GB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.09489, allocations: 8.031 kB / 0.5282 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.09515, allocations: 63.42 kB / 0.5283 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.09519, allocations: 19.94 kB / 0.5283 GB, free: 7.527 MB / 362.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.0001773/0.09537, allocations: 185.7 kB / 0.5285 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.09547, allocations: 39.53 kB / 0.5285 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.09618, allocations: 403 kB / 0.5289 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.09619, allocations: 0 / 0.5289 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.0962, allocations: 4 kB / 0.5289 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.09621, allocations: 3.984 kB / 0.5289 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.09669, allocations: 385.2 kB / 0.5293 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.256e-05/0.09674, allocations: 31.98 kB / 0.5293 GB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.09689, allocations: 31.91 kB / 0.5293 GB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.09691, allocations: 4 kB / 0.5293 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.09693, allocations: 8 kB / 0.5293 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.09694, allocations: 4 kB / 0.5293 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09694, allocations: 0 / 0.5293 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.09771, allocations: 0.5992 MB / 0.5299 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.09789, allocations: 152.6 kB / 0.5301 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.09794, allocations: 0 / 0.5301 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.09827, allocations: 31.97 kB / 0.5301 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.09834, allocations: 23.92 kB / 0.5301 GB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.09837, allocations: 11.98 kB / 0.5301 GB, free: 5.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003931/0.09876, allocations: 411 kB / 0.5305 GB, free: 5.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09877, allocations: 0 / 0.5305 GB, free: 5.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.09929, allocations: 159.8 kB / 0.5307 GB, free: 4.984 MB / 362.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.000331/0.09963, allocations: 223 kB / 0.5309 GB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000793/0.1004, allocations: 0.5419 MB / 0.5314 GB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1004, allocations: 0 / 0.5314 GB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.1009, allocations: 400 kB / 0.5318 GB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1015, allocations: 94.19 kB / 0.5319 GB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1028, allocations: 0.9556 MB / 0.5328 GB, free: 2.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1031, allocations: 0.8576 MB / 0.5337 GB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.1032, allocations: 31.44 kB / 0.5337 GB, free: 1.707 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1032, allocations: 0 / 0.5337 GB, free: 1.707 MB / 362.7 MB Notification: Performance of Templates: time 0.008998/0.1122, allocations: 7.892 MB / 0.5414 GB, free: 9.859 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