Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2021/0.2021, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 83.86 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3657, allocations: 62.42 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004106/0.3699, allocations: 2.021 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3718, allocations: 0.9237 MB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.372, allocations: 5.375 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3724, allocations: 67.78 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.373, allocations: 124.5 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3734, allocations: 81.77 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.374, allocations: 388.8 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3741, allocations: 43.31 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.3745, allocations: 153.3 kB / 0.5354 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.375, allocations: 182 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.3751, allocations: 13.66 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.3754, allocations: 148.2 kB / 0.5357 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3756, allocations: 95.84 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3758, allocations: 149 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.3764, allocations: 430.9 kB / 0.5364 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3764, allocations: 3.938 kB / 0.5364 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3764, allocations: 1.062 kB / 0.5364 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3765, allocations: 0 / 0.5364 GB, free: 10.16 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.001227/0.3777, allocations: 0.6509 MB / 0.537 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3778, allocations: 10.25 kB / 0.537 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3779, allocations: 39.12 kB / 0.537 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3783, allocations: 281.7 kB / 0.5373 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.3783, allocations: 31.91 kB / 0.5373 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.3784, allocations: 39.86 kB / 0.5374 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.3793, allocations: 0.5563 MB / 0.5379 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3793, allocations: 4 kB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.3793, allocations: 11.78 kB / 0.5379 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.715e-05/0.3794, allocations: 47.19 kB / 0.538 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.3804, allocations: 0.5675 MB / 0.5385 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3824, allocations: 1.169 MB / 0.5397 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.3831, allocations: 381.4 kB / 0.54 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.3834, allocations: 133.6 kB / 0.5402 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.3835, allocations: 15.92 kB / 0.5402 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3835, allocations: 31.84 kB / 0.5402 GB, free: 7.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.3835, allocations: 0 / 0.5402 GB, free: 7.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001124/0.3846, allocations: 466.7 kB / 0.5407 GB, free: 7.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3847, allocations: 61.89 kB / 0.5407 GB, free: 7.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.3853, allocations: 450.8 kB / 0.5412 GB, free: 7.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3854, allocations: 29.7 kB / 0.5412 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3855, allocations: 188.2 kB / 0.5414 GB, free: 6.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.3856, allocations: 80.89 kB / 0.5414 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.3857, allocations: 47.7 kB / 0.5415 GB, free: 6.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.386, allocations: 358.1 kB / 0.5418 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3863, allocations: 118.7 kB / 0.5419 GB, free: 6.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.3865, allocations: 116.4 kB / 0.542 GB, free: 6.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.3871, allocations: 265.1 kB / 0.5423 GB, free: 6.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3871, allocations: 3.938 kB / 0.5423 GB, free: 6.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006924/0.3878, allocations: 341.2 kB / 0.5426 GB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3879, allocations: 12.16 kB / 0.5426 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3879, allocations: 3.938 kB / 0.5426 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3879, allocations: 1.469 kB / 0.5426 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.3887, allocations: 154.4 kB / 0.5428 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.3919, allocations: 5.521 MB / 0.5482 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.3923, allocations: 47.45 kB / 0.5482 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3923, allocations: 15.98 kB / 0.5482 GB, free: 300 kB / 398.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.0003275/0.3927, allocations: 189 kB / 0.5484 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3928, allocations: 31.81 kB / 0.5485 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.3937, allocations: 467.4 kB / 0.5489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3937, allocations: 4 kB / 0.5489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3937, allocations: 0 / 0.5489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3937, allocations: 4 kB / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3942, allocations: 373.1 kB / 0.5493 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3942, allocations: 3.984 kB / 0.5493 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.3949, allocations: 155.9 kB / 0.5494 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3949, allocations: 0 / 0.5494 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.395, allocations: 12 kB / 0.5494 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.398, allocations: 5.508 MB / 0.5548 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.398, allocations: 12.23 kB / 0.5548 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.3987, allocations: 438.8 kB / 0.5552 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.3989, allocations: 120.6 kB / 0.5554 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.399, allocations: 7.984 kB / 0.5554 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3992, allocations: 12 kB / 0.5554 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.3993, allocations: 27.84 kB / 0.5554 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3994, allocations: 11.98 kB / 0.5554 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004445/0.3998, allocations: 339.1 kB / 0.5557 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3998, allocations: 0 / 0.5557 GB, free: 8.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.4003, allocations: 103.9 kB / 0.5558 GB, free: 8.223 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.0003192/0.4006, allocations: 135.2 kB / 0.556 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.4018, allocations: 399.5 kB / 0.5563 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4019, allocations: 0 / 0.5563 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.4027, allocations: 287 kB / 0.5566 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.4033, allocations: 93.36 kB / 0.5567 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.405, allocations: 0.793 MB / 0.5575 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.4054, allocations: 0.8464 MB / 0.5583 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4055, allocations: 35.41 kB / 0.5583 GB, free: 5.586 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4056, allocations: 0 / 0.5583 GB, free: 5.586 MB / 414.1 MB Notification: Performance of Templates: time 0.02314/0.4287, allocations: 19.2 MB / 0.5771 GB, free: 2.406 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches