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_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.073/1.073, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2682/0.2682, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.107e-05, allocations: 2.312 kB / 376.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002281/0.002302, allocations: 2.078 MB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003327, allocations: 0.9034 MB / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.00339, allocations: 0 / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.003633, allocations: 67.59 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.003927, allocations: 139.2 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.004108, allocations: 91.62 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.004423, allocations: 401.9 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.004471, allocations: 12.94 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.004723, allocations: 199.2 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.004888, allocations: 163.4 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.004913, allocations: 12 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.005046, allocations: 79.78 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.005132, allocations: 103.5 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.005212, allocations: 99.59 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.005545, allocations: 374.4 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005547, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005548, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.005554, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 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.00068/0.006234, allocations: 0.6909 MB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.006272, allocations: 19.97 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.006353, allocations: 72.66 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.006567, allocations: 223.8 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.006586, allocations: 25.38 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.006621, allocations: 32.38 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.006987, allocations: 315.7 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.007, allocations: 192 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.007024, allocations: 16.38 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.007074, allocations: 44.91 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.007357, allocations: 217.9 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.008317, allocations: 0.9136 MB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.008559, allocations: 139.5 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.008635, allocations: 43.66 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.008663, allocations: 8 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.008684, allocations: 37.39 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.008685, allocations: 0 / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000427/0.009112, allocations: 196.8 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.009141, allocations: 55.39 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.009236, allocations: 200.1 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.009254, allocations: 37.7 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.009339, allocations: 263.2 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.009389, allocations: 75.33 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.00945, allocations: 59.34 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.009558, allocations: 0.4962 MB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.009624, allocations: 31.97 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.009689, allocations: 31.92 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.009854, allocations: 94.41 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009856, allocations: 0 / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002227/0.01008, allocations: 161.4 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01009, allocations: 9.25 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.0101, allocations: 4 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01011, allocations: 0 / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.01052, allocations: 155.9 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.01424, allocations: 8.149 MB / 393.5 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.01431, allocations: 11.89 kB / 393.5 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01433, allocations: 15.98 kB / 393.5 MB, free: 2.68 MB / 362.7 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 9.761e-05/0.01443, allocations: 164.5 kB / 393.7 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.01447, allocations: 28.09 kB / 393.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.0148, allocations: 253.5 kB / 394 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01481, allocations: 4 kB / 394 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01481, allocations: 0 / 394 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01481, allocations: 3.984 kB / 394 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.01505, allocations: 292.4 kB / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01505, allocations: 0 / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.01539, allocations: 159.9 kB / 394.4 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01539, allocations: 0 / 394.4 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.0154, allocations: 16 kB / 394.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.01764, allocations: 8.145 MB / 402.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01764, allocations: 0 / 402.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.01791, allocations: 323.6 kB / 402.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01793, allocations: 15.84 kB / 402.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01795, allocations: 4 kB / 402.9 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.01802, allocations: 7.984 kB / 402.9 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.01808, allocations: 19.97 kB / 402.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01809, allocations: 12 kB / 403 MB, free: 8.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.01815, allocations: 154 kB / 403.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01815, allocations: 0 / 403.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01839, allocations: 127.6 kB / 403.2 MB, free: 8.66 MB / 378.7 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.0001936/0.01858, allocations: 135 kB / 403.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.01909, allocations: 254.7 kB / 403.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01909, allocations: 0 / 403.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.01943, allocations: 199.5 kB / 403.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01966, allocations: 31.97 kB / 403.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.0206, allocations: 0.6492 MB / 404.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.934e-05/0.02069, allocations: 139.9 kB / 404.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.621e-05/0.02077, allocations: 37.44 kB / 404.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.02082, allocations: 20.48 kB / 404.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02082, allocations: 0 / 404.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Templates: time 0.006442/0.02726, allocations: 5.01 MB / 409.7 MB, free: 2.238 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6662253197282553]