Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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_overall_KC,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.|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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,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.|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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 122.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 206.1 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3672, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.004035/0.3713, allocations: 2.014 MB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.3749, allocations: 1.867 MB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.3752, allocations: 2.75 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3758, allocations: 70.72 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.3765, allocations: 116.1 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3778, allocations: 356.5 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.3784, allocations: 392.9 kB / 0.5364 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3786, allocations: 47.56 kB / 0.5364 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.3791, allocations: 156.5 kB / 0.5366 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.3796, allocations: 182.1 kB / 0.5367 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.3796, allocations: 10.16 kB / 0.5367 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.381, allocations: 0.5518 MB / 0.5373 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3812, allocations: 96.09 kB / 0.5374 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.3815, allocations: 161.1 kB / 0.5375 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3829, allocations: 0.6442 MB / 0.5382 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3829, allocations: 0 / 0.5382 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3829, allocations: 1.312 kB / 0.5382 GB, free: 8.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3829, allocations: 0 / 0.5382 GB, free: 8.848 MB / 398.1 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.001647/0.3846, allocations: 0.6806 MB / 0.5388 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3847, allocations: 13.16 kB / 0.5388 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3848, allocations: 39.25 kB / 0.5389 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.3853, allocations: 285.3 kB / 0.5392 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3853, allocations: 27.52 kB / 0.5392 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.3854, allocations: 36.38 kB / 0.5392 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3865, allocations: 0.5524 MB / 0.5398 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3865, allocations: 3.938 kB / 0.5398 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.3866, allocations: 19.06 kB / 0.5398 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/0.3867, allocations: 39.98 kB / 0.5398 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.388, allocations: 0.5762 MB / 0.5404 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3903, allocations: 1.164 MB / 0.5415 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.3911, allocations: 375.7 kB / 0.5419 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.3915, allocations: 142.7 kB / 0.542 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.3915, allocations: 14.88 kB / 0.542 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3916, allocations: 31.84 kB / 0.5421 GB, free: 6.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.295e-06/0.3916, allocations: 0 / 0.5421 GB, free: 6.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00129/0.3929, allocations: 462.7 kB / 0.5425 GB, free: 6.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.393, allocations: 57.72 kB / 0.5425 GB, free: 6.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/0.3937, allocations: 450.9 kB / 0.543 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.3937, allocations: 31.11 kB / 0.543 GB, free: 5.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3939, allocations: 188.5 kB / 0.5432 GB, free: 5.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.394, allocations: 75.84 kB / 0.5433 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3941, allocations: 51.36 kB / 0.5433 GB, free: 5.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3943, allocations: 350.6 kB / 0.5436 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.3947, allocations: 122.8 kB / 0.5438 GB, free: 5.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3949, allocations: 124.4 kB / 0.5439 GB, free: 5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.3955, allocations: 257.6 kB / 0.5441 GB, free: 4.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3955, allocations: 0 / 0.5441 GB, free: 4.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007048/0.3962, allocations: 350.1 kB / 0.5445 GB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3962, allocations: 11.94 kB / 0.5445 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3963, allocations: 7.938 kB / 0.5445 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3963, allocations: 0 / 0.5445 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.3971, allocations: 155.9 kB / 0.5446 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.4008, allocations: 5.512 MB / 0.55 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4012, allocations: 51.36 kB / 0.5501 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.4012, allocations: 12 kB / 0.5501 GB, free: 14.46 MB / 414.1 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.4015, allocations: 193.6 kB / 0.5503 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.4016, allocations: 31.62 kB / 0.5503 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.4026, allocations: 451.5 kB / 0.5507 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4026, allocations: 8.031 kB / 0.5507 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4027, allocations: 4 kB / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4027, allocations: 3.984 kB / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.4033, allocations: 385.1 kB / 0.5511 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4033, allocations: 0 / 0.5511 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.404, allocations: 151.9 kB / 0.5512 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.404, allocations: 0 / 0.5512 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.4041, allocations: 11.98 kB / 0.5513 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.4072, allocations: 5.512 MB / 0.5566 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.4072, allocations: 3.938 kB / 0.5566 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.4079, allocations: 451 kB / 0.5571 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4081, allocations: 120.6 kB / 0.5572 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.4082, allocations: 0 / 0.5572 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.4084, allocations: 11.98 kB / 0.5572 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.4085, allocations: 27.91 kB / 0.5572 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.4085, allocations: 8 kB / 0.5572 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004083/0.409, allocations: 339.1 kB / 0.5576 GB, free: 6.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 0 / 0.5576 GB, free: 6.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.4096, allocations: 147.9 kB / 0.5577 GB, free: 6.352 MB / 414.1 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005303/0.4101, allocations: 215 kB / 0.5579 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.4113, allocations: 395.6 kB / 0.5583 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.4114, allocations: 4 kB / 0.5583 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008188/0.4122, allocations: 283 kB / 0.5586 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.4127, allocations: 89.44 kB / 0.5586 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4142, allocations: 0.8085 MB / 0.5594 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.4147, allocations: 0.8503 MB / 0.5603 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4148, allocations: 35.42 kB / 0.5603 GB, free: 3.625 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4148, allocations: 0 / 0.5603 GB, free: 3.625 MB / 414.1 MB Notification: Performance of Templates: time 0.02362/0.4384, allocations: 19.95 MB / 0.5798 GB, free: 15.69 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches