Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002507/0.002507, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.95 MB / 361.4 MB, free: 4.406 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.86 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3406, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003639/0.3442, allocations: 2.155 MB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3462, allocations: 1.238 MB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3463, allocations: 4 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3466, allocations: 67.59 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3469, allocations: 99.36 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.3475, allocations: 183.3 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.348, allocations: 438 kB / 0.5658 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.539e-05/0.348, allocations: 12.94 kB / 0.5658 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3483, allocations: 163.2 kB / 0.5659 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3485, allocations: 191 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.3486, allocations: 12.05 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.349, allocations: 231.6 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3491, allocations: 103.5 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3493, allocations: 162.9 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.35, allocations: 0.4925 MB / 0.5671 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.35, allocations: 0 / 0.5671 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.35, allocations: 0 / 0.5671 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.35, allocations: 4 kB / 0.5671 GB, free: 15.01 MB / 414.1 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.001254/0.3512, allocations: 0.6376 MB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3513, allocations: 11.97 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.3517, allocations: 84.55 kB / 0.5678 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.3521, allocations: 237.9 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3521, allocations: 37.31 kB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.3522, allocations: 36.38 kB / 0.5681 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.3531, allocations: 0.5819 MB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3532, allocations: 0 / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.3532, allocations: 16 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.3532, allocations: 20.98 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.354, allocations: 427.6 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.3559, allocations: 1.347 MB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.3564, allocations: 259.6 kB / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.3567, allocations: 138 kB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.3568, allocations: 7.938 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3568, allocations: 38.56 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.3568, allocations: 0 / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001147/0.3579, allocations: 457.2 kB / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.358, allocations: 110.8 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.3586, allocations: 0.4978 MB / 0.5719 GB, free: 9.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3587, allocations: 29.7 kB / 0.5719 GB, free: 9.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.3589, allocations: 212.3 kB / 0.5721 GB, free: 9.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.359, allocations: 59.53 kB / 0.5722 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3591, allocations: 53.7 kB / 0.5722 GB, free: 9.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3592, allocations: 350.8 kB / 0.5725 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3596, allocations: 127.9 kB / 0.5727 GB, free: 9.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.3599, allocations: 178.8 kB / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.3605, allocations: 304.8 kB / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3605, allocations: 0 / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007778/0.3613, allocations: 381.1 kB / 0.5735 GB, free: 8.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3613, allocations: 7.938 kB / 0.5735 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/0.3614, allocations: 31.98 kB / 0.5735 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3614, allocations: 0 / 0.5735 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3616, allocations: 35.91 kB / 0.5736 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3616, allocations: 0 / 0.5736 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3619, allocations: 59.59 kB / 0.5736 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.3619, allocations: 16 kB / 0.5736 GB, free: 8.012 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.3621, allocations: 185.7 kB / 0.5738 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3622, allocations: 47.66 kB / 0.5739 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.363, allocations: 383.3 kB / 0.5742 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.363, allocations: 4 kB / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.363, allocations: 0 / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.363, allocations: 0 / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3635, allocations: 340.4 kB / 0.5745 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.3635, allocations: 31.98 kB / 0.5746 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.3637, allocations: 23.97 kB / 0.5746 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3637, allocations: 7.938 kB / 0.5746 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3637, allocations: 8 kB / 0.5746 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3637, allocations: 7.938 kB / 0.5746 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3637, allocations: 7.922 kB / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.3645, allocations: 0.564 MB / 0.5752 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3646, allocations: 51.64 kB / 0.5752 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.3647, allocations: 11.98 kB / 0.5752 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3649, allocations: 15.98 kB / 0.5753 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.365, allocations: 27.95 kB / 0.5753 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.365, allocations: 12 kB / 0.5753 GB, free: 6.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.3655, allocations: 375 kB / 0.5757 GB, free: 5.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3655, allocations: 0 / 0.5757 GB, free: 5.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.3659, allocations: 115.8 kB / 0.5758 GB, free: 5.754 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.3662, allocations: 151 kB / 0.5759 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008868/0.3671, allocations: 0.511 MB / 0.5764 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3671, allocations: 0 / 0.5764 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.3676, allocations: 383.1 kB / 0.5768 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.3682, allocations: 101.6 kB / 0.5769 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3696, allocations: 0.8177 MB / 0.5777 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.3701, allocations: 0.8534 MB / 0.5785 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.3703, allocations: 63.25 kB / 0.5786 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.3704, allocations: 31.44 kB / 0.5786 GB, free: 2.68 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3704, allocations: 3.938 kB / 0.5786 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Templates: time 0.01298/0.3834, allocations: 7.335 MB / 0.5858 GB, free: 11.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.48871836066246]