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.001267/0.001267, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001504/0.001504, allocations: 210.1 kB / 25.13 MB, free: 3.586 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.424/1.424, allocations: 230.4 MB / 258.7 MB, free: 8.078 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.2263/0.2263, allocations: 46.93 MB / 362 MB, free: 4.238 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.002298/0.002298, allocations: 75.88 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.309, allocations: 66.08 MB / 0.5624 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003473/0.3125, allocations: 2.143 MB / 0.5644 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3144, allocations: 1.238 MB / 0.5657 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.3145, allocations: 0 / 0.5657 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.3148, allocations: 71.58 kB / 0.5657 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.315, allocations: 99.38 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3156, allocations: 191.3 kB / 0.566 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.316, allocations: 437.9 kB / 0.5664 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.3161, allocations: 12.94 kB / 0.5664 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.3164, allocations: 171.2 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3166, allocations: 187.1 kB / 0.5668 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3166, allocations: 12 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.3169, allocations: 135.8 kB / 0.5669 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3171, allocations: 95.47 kB / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3173, allocations: 166.9 kB / 0.5672 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.3179, allocations: 480.3 kB / 0.5676 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3179, allocations: 0 / 0.5676 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3179, allocations: 0 / 0.5676 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.318, allocations: 0 / 0.5676 GB, free: 14.85 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.001224/0.3192, allocations: 0.6454 MB / 0.5683 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3192, allocations: 8.031 kB / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.3196, allocations: 84.55 kB / 0.5683 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.32, allocations: 238.7 kB / 0.5686 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3201, allocations: 33.38 kB / 0.5686 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.3201, allocations: 36.38 kB / 0.5686 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009495/0.3211, allocations: 0.5742 MB / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3211, allocations: 0 / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.3211, allocations: 12 kB / 0.5692 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.3212, allocations: 32.98 kB / 0.5692 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/0.322, allocations: 419.6 kB / 0.5696 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.324, allocations: 1.343 MB / 0.571 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.3245, allocations: 263.6 kB / 0.5712 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3248, allocations: 134.5 kB / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.3249, allocations: 7.984 kB / 0.5713 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3249, allocations: 30.56 kB / 0.5714 GB, free: 10.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3249, allocations: 0 / 0.5714 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001201/0.3261, allocations: 467.4 kB / 0.5718 GB, free: 10.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.3262, allocations: 106.8 kB / 0.5719 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.3268, allocations: 0.5018 MB / 0.5724 GB, free: 9.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3268, allocations: 33.95 kB / 0.5724 GB, free: 9.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.327, allocations: 204.3 kB / 0.5726 GB, free: 9.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.3271, allocations: 63.47 kB / 0.5727 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3272, allocations: 53.8 kB / 0.5727 GB, free: 9.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3273, allocations: 354.7 kB / 0.5731 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.3277, allocations: 127.9 kB / 0.5732 GB, free: 8.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.328, allocations: 169 kB / 0.5734 GB, free: 8.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3287, allocations: 300.8 kB / 0.5737 GB, free: 8.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3287, allocations: 0 / 0.5737 GB, free: 8.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008546/0.3295, allocations: 387.6 kB / 0.574 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3296, allocations: 11.94 kB / 0.574 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-05/0.3296, allocations: 31.98 kB / 0.5741 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3297, allocations: 4 kB / 0.5741 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.3299, allocations: 31.95 kB / 0.5741 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3299, allocations: 7.984 kB / 0.5741 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.3301, allocations: 63.75 kB / 0.5742 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.3302, allocations: 8 kB / 0.5742 GB, free: 7.852 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.0002062/0.3304, allocations: 185.7 kB / 0.5744 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3305, allocations: 47.66 kB / 0.5744 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.3313, allocations: 380.5 kB / 0.5748 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3313, allocations: 4 kB / 0.5748 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3313, allocations: 8 kB / 0.5748 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3313, allocations: 0 / 0.5748 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.3319, allocations: 336.4 kB / 0.5751 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.854e-05/0.3319, allocations: 35.98 kB / 0.5751 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3321, allocations: 23.97 kB / 0.5752 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.3321, allocations: 7.875 kB / 0.5752 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3321, allocations: 12 kB / 0.5752 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3321, allocations: 0 / 0.5752 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3321, allocations: 0 / 0.5752 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.333, allocations: 0.5776 MB / 0.5757 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3331, allocations: 51.58 kB / 0.5758 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3331, allocations: 4 kB / 0.5758 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3334, allocations: 23.97 kB / 0.5758 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.3335, allocations: 19.97 kB / 0.5758 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3335, allocations: 12 kB / 0.5758 GB, free: 6.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004552/0.334, allocations: 379 kB / 0.5762 GB, free: 5.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.334, allocations: 0 / 0.5762 GB, free: 5.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.3345, allocations: 107.8 kB / 0.5763 GB, free: 5.598 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.000279/0.3348, allocations: 155 kB / 0.5765 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009147/0.3357, allocations: 0.5107 MB / 0.577 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3357, allocations: 0 / 0.577 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3362, allocations: 379.1 kB / 0.5773 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.3368, allocations: 101.9 kB / 0.5774 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3383, allocations: 0.8294 MB / 0.5782 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3388, allocations: 0.8495 MB / 0.579 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.3389, allocations: 55.25 kB / 0.5791 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.339, allocations: 31.42 kB / 0.5791 GB, free: 2.523 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.339, allocations: 3.938 kB / 0.5791 GB, free: 2.52 MB / 414.1 MB Notification: Performance of Templates: time 0.01333/0.3523, allocations: 7.352 MB / 0.5863 GB, free: 11.26 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 -s gbode -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/jenkins1/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/jenkins1/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.1921400390565395]