Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.0009991/0.0009991, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001029/0.001029, allocations: 169.3 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.007/1.007, allocations: 158.6 MB / 186 MB, free: 2.406 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1488/0.1488, allocations: 32.37 MB / 270.7 MB, free: 14.83 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|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,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.798e-05, allocations: 6.25 kB / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002164/0.002192, allocations: 1.94 MB / 349.6 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.00319, allocations: 0.8148 MB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.003264, allocations: 3.938 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.003511, allocations: 47.69 kB / 350.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.003792, allocations: 99.36 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.004017, allocations: 75.73 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.004225, allocations: 274.5 kB / 350.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.004277, allocations: 8.594 kB / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.00444, allocations: 127.5 kB / 351.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.004584, allocations: 107.6 kB / 351.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.004618, allocations: 8 kB / 351.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.004752, allocations: 63.95 kB / 351.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.004826, allocations: 75.69 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.004882, allocations: 63.73 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.005159, allocations: 266.8 kB / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.005163, allocations: 0 / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.005166, allocations: 4 kB / 351.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.005172, allocations: 0 / 351.7 MB, free: 5.762 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005867/0.005758, allocations: 0.5856 MB / 352.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005798, allocations: 8.031 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.005871, allocations: 48.75 kB / 352.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.006035, allocations: 187.5 kB / 352.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.00605, allocations: 16.88 kB / 352.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.006077, allocations: 24.38 kB / 352.5 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.006366, allocations: 218.2 kB / 352.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.006376, allocations: 3.938 kB / 352.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.006395, allocations: 15.98 kB / 352.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.006435, allocations: 20.64 kB / 352.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.006602, allocations: 139.8 kB / 352.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.007302, allocations: 0.6871 MB / 353.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.007476, allocations: 109.2 kB / 353.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.007538, allocations: 39.73 kB / 353.7 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.007566, allocations: 7.984 kB / 353.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.007583, allocations: 37.39 kB / 353.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.007585, allocations: 0 / 353.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002991/0.007884, allocations: 152.4 kB / 353.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.007913, allocations: 59.28 kB / 354 MB, free: 3.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.008023, allocations: 254.5 kB / 354.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.008035, allocations: 29.7 kB / 354.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.008104, allocations: 235.1 kB / 354.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.008131, allocations: 59.52 kB / 354.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.00819, allocations: 79.53 kB / 354.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.00824, allocations: 0.4962 MB / 355.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.008299, allocations: 28.45 kB / 355.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.008388, allocations: 158.9 kB / 355.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.008553, allocations: 207.7 kB / 355.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.008556, allocations: 0 / 355.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002338/0.008789, allocations: 201.6 kB / 355.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008806, allocations: 12 kB / 355.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008812, allocations: 0 / 355.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.008828, allocations: 11.94 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.009156, allocations: 123.9 kB / 355.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.01071, allocations: 5.414 MB / 361.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01082, allocations: 27.78 kB / 361.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01084, allocations: 16 kB / 361.3 MB, free: 11.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.01098, allocations: 172.5 kB / 361.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01101, allocations: 23.84 kB / 361.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.01132, allocations: 194.4 kB / 361.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01132, allocations: 0 / 361.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01133, allocations: 0 / 361.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01133, allocations: 0 / 361.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.01156, allocations: 244.4 kB / 361.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01156, allocations: 0 / 361.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.0118, allocations: 107.9 kB / 362 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01181, allocations: 3.938 kB / 362 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01182, allocations: 11.98 kB / 362.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.01331, allocations: 5.406 MB / 367.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01331, allocations: 0 / 367.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.01355, allocations: 283.7 kB / 367.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01357, allocations: 20.19 kB / 367.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01359, allocations: 4 kB / 367.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.01366, allocations: 8 kB / 367.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.01371, allocations: 15.91 kB / 367.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.01373, allocations: 12 kB / 367.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.0138, allocations: 159.4 kB / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0138, allocations: 0 / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.01412, allocations: 91.77 kB / 368 MB, free: 4.641 MB / 298.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.01436, allocations: 131.1 kB / 368.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.01479, allocations: 211.3 kB / 368.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.0148, allocations: 0.75 kB / 368.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.01503, allocations: 143.5 kB / 368.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01528, allocations: 27.97 kB / 368.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.01628, allocations: 487 kB / 369 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.235e-05/0.01635, allocations: 103.9 kB / 369.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.01647, allocations: 53.41 kB / 369.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.01651, allocations: 24.48 kB / 369.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01652, allocations: 0 / 369.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of Templates: time 0.006268/0.02278, allocations: 4.018 MB / 373.2 MB, free: 15.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/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.4347147329244763]