Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.00101/0.00101, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001755/0.001755, allocations: 165 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.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.596e-05, allocations: 2.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004175/0.004201, allocations: 2.063 MB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.006613, allocations: 1.137 MB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.006768, allocations: 3.938 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.007147, allocations: 55.62 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.007454, allocations: 87.44 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.008177, allocations: 183.2 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.008636, allocations: 342.3 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.008701, allocations: 12.94 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.00902, allocations: 159.5 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.009219, allocations: 111.6 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.009253, allocations: 16 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.009575, allocations: 155.7 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.009687, allocations: 75.67 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.009792, allocations: 75.72 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.01033, allocations: 370.5 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01034, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01034, allocations: 4 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.01034, allocations: 0 / 382.9 MB, free: 13.76 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009887/0.01133, allocations: 0.6557 MB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.01138, allocations: 8.031 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.0117, allocations: 80.72 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.01202, allocations: 196.1 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.01204, allocations: 17.03 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.01209, allocations: 32.12 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.01262, allocations: 306.7 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01263, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.01266, allocations: 16 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.01271, allocations: 16.59 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.01296, allocations: 111.8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.01426, allocations: 1.086 MB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.01452, allocations: 153.2 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.01462, allocations: 50.98 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.01465, allocations: 4 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.01468, allocations: 45.33 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.01469, allocations: 4 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004649/0.01515, allocations: 141.4 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.01521, allocations: 110.8 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.01549, allocations: 308.2 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.01551, allocations: 25.7 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.01567, allocations: 255 kB / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.01571, allocations: 51.59 kB / 386.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.01584, allocations: 71.58 kB / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004701/0.01631, allocations: 0.5079 MB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.01641, allocations: 28.45 kB / 387.1 MB, free: 9.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.01661, allocations: 207.2 kB / 387.3 MB, free: 8.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.01693, allocations: 250.1 kB / 387.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.01694, allocations: 0 / 387.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004313/0.01737, allocations: 233.1 kB / 387.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.01739, allocations: 5.875 kB / 387.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/0.01743, allocations: 24 kB / 387.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.01745, allocations: 4 kB / 387.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.01763, allocations: 51.91 kB / 387.9 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.01765, allocations: 4 kB / 387.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.01782, allocations: 44.23 kB / 387.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.01785, allocations: 12 kB / 387.9 MB, free: 8.262 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001447/0.018, allocations: 188.3 kB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.01809, allocations: 27.86 kB / 388.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.01844, allocations: 167.4 kB / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.01845, allocations: 4 kB / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01845, allocations: 0 / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01846, allocations: 0 / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.01886, allocations: 256.4 kB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/0.01889, allocations: 19.98 kB / 388.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.01898, allocations: 19.98 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01898, allocations: 3.938 kB / 388.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.01901, allocations: 4 kB / 388.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01901, allocations: 0 / 388.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01901, allocations: 4 kB / 388.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.01941, allocations: 0.5059 MB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.01944, allocations: 15.91 kB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.01947, allocations: 0 / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.01966, allocations: 19.98 kB / 389.2 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01973, allocations: 23.91 kB / 389.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01974, allocations: 4 kB / 389.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.565e-05/0.01984, allocations: 193.1 kB / 389.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01984, allocations: 4 kB / 389.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.02017, allocations: 115.6 kB / 389.5 MB, free: 6.641 MB / 362.7 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002231/0.0204, allocations: 155 kB / 389.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.02069, allocations: 286.3 kB / 389.9 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.02069, allocations: 320 / 389.9 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.02081, allocations: 213.8 kB / 390.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.02112, allocations: 40.91 kB / 390.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.02203, allocations: 0.5334 MB / 390.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.0221, allocations: 111.9 kB / 390.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.02218, allocations: 37.59 kB / 390.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.02221, allocations: 20.48 kB / 390.9 MB, free: 5.098 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02221, allocations: 4 kB / 390.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of Templates: time 0.006446/0.02866, allocations: 4.907 MB / 395.8 MB, free: 280 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.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.130233800970018]