Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 183 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.314, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003283/0.3173, allocations: 2.105 MB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3191, allocations: 1.165 MB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.3193, allocations: 2.281 kB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.3196, allocations: 63.72 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.32, allocations: 94.28 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.3206, allocations: 163.4 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.3211, allocations: 432.8 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.3212, allocations: 49.09 kB / 0.5236 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.3215, allocations: 159.4 kB / 0.5237 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.3219, allocations: 181.3 kB / 0.5239 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.3219, allocations: 13.28 kB / 0.5239 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.3224, allocations: 220.9 kB / 0.5241 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3226, allocations: 88.73 kB / 0.5242 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.3228, allocations: 167 kB / 0.5243 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.3235, allocations: 491.5 kB / 0.5248 GB, free: 432 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3235, allocations: 4.938 kB / 0.5248 GB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3235, allocations: 0.6094 kB / 0.5248 GB, free: 428 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3235, allocations: 0 / 0.5248 GB, free: 428 kB / 382.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.001379/0.3249, allocations: 0.7003 MB / 0.5255 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.325, allocations: 12.59 kB / 0.5255 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3251, allocations: 45.67 kB / 0.5256 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.3255, allocations: 290.6 kB / 0.5258 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3256, allocations: 28.84 kB / 0.5259 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.3257, allocations: 37.28 kB / 0.5259 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3267, allocations: 0.576 MB / 0.5265 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3267, allocations: 0 / 0.5265 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.3267, allocations: 16.12 kB / 0.5265 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.3268, allocations: 24.73 kB / 0.5265 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.3276, allocations: 428.6 kB / 0.5269 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.3296, allocations: 1.38 MB / 0.5283 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.3302, allocations: 271.1 kB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3305, allocations: 132.9 kB / 0.5286 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.3306, allocations: 8.938 kB / 0.5287 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3306, allocations: 41.3 kB / 0.5287 GB, free: 13.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3306, allocations: 3.938 kB / 0.5287 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001201/0.3318, allocations: 457.5 kB / 0.5291 GB, free: 13.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3319, allocations: 107.9 kB / 0.5292 GB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.3325, allocations: 0.499 MB / 0.5297 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3326, allocations: 25.7 kB / 0.5297 GB, free: 13.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3327, allocations: 206.5 kB / 0.5299 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.3328, allocations: 62.03 kB / 0.53 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.3329, allocations: 49.48 kB / 0.5301 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3331, allocations: 350.4 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.3334, allocations: 130.8 kB / 0.5305 GB, free: 12.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.3337, allocations: 167.8 kB / 0.5307 GB, free: 12.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.3344, allocations: 300.6 kB / 0.531 GB, free: 12.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3344, allocations: 4 kB / 0.531 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008237/0.3352, allocations: 381.2 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3353, allocations: 9.438 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.677e-05/0.3353, allocations: 34.42 kB / 0.5314 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3354, allocations: 2.125 kB / 0.5314 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3356, allocations: 34.19 kB / 0.5314 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.3356, allocations: 5.562 kB / 0.5314 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.336, allocations: 60.16 kB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.3361, allocations: 17.59 kB / 0.5315 GB, free: 12.05 MB / 398.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.0002649/0.3363, allocations: 183.8 kB / 0.5317 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.3365, allocations: 45.08 kB / 0.5317 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007336/0.3373, allocations: 384.9 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3373, allocations: 2.656 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3373, allocations: 3.281 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3373, allocations: 0 / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.3379, allocations: 362.6 kB / 0.5324 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/0.3379, allocations: 29.61 kB / 0.5324 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3381, allocations: 23 kB / 0.5325 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3381, allocations: 5.062 kB / 0.5325 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.3381, allocations: 18.67 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3381, allocations: 1.375 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3381, allocations: 1.438 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.339, allocations: 0.5695 MB / 0.533 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3391, allocations: 129.5 kB / 0.5332 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.3392, allocations: 4.938 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3395, allocations: 14.77 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.3396, allocations: 22.31 kB / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3396, allocations: 15.53 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.34, allocations: 376.1 kB / 0.5336 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.34, allocations: 4 kB / 0.5336 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000528/0.3406, allocations: 108.3 kB / 0.5337 GB, free: 10.55 MB / 398.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.0003129/0.3409, allocations: 155 kB / 0.5338 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.3417, allocations: 0.5192 MB / 0.5343 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3417, allocations: 0 / 0.5343 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3422, allocations: 387.2 kB / 0.5347 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.3429, allocations: 101.8 kB / 0.5348 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3444, allocations: 0.8229 MB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3448, allocations: 0.8461 MB / 0.5364 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.3449, allocations: 24.81 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3449, allocations: 0 / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of Templates: time 0.01132/0.3562, allocations: 6.979 MB / 0.5433 GB, free: 3.238 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches