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.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.001016/0.001016, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001313/0.001313, allocations: 173 kB / 24.14 MB, free: 356 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 0.9551/0.9551, allocations: 158.6 MB / 186 MB, free: 2.73 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.1564/0.1564, allocations: 32.38 MB / 270.7 MB, free: 14.6 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,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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.605e-05, allocations: 6.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002763/0.002789, allocations: 2.064 MB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1337/0.1365, allocations: 1.081 MB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1366, allocations: 3.609 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1369, allocations: 58.73 kB / 302.3 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1371, allocations: 94.19 kB / 302.4 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.1378, allocations: 160.8 kB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.1382, allocations: 346.8 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.1383, allocations: 19.91 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.1386, allocations: 151.5 kB / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1388, allocations: 115.3 kB / 303.2 MB, free: 19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1389, allocations: 13.06 kB / 303.2 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1392, allocations: 134.1 kB / 303.3 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1393, allocations: 75.28 kB / 303.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1394, allocations: 78.47 kB / 303.5 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1399, allocations: 350.8 kB / 303.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1399, allocations: 3.938 kB / 303.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1399, allocations: 1.281 kB / 303.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1399, allocations: 0 / 303.8 MB, free: 18.9 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007918/0.1407, allocations: 0.5083 MB / 304.3 MB, free: 18.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1407, allocations: 10.39 kB / 304.3 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.1408, allocations: 43.97 kB / 304.4 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.141, allocations: 176.1 kB / 304.6 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.141, allocations: 17.94 kB / 304.6 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.141, allocations: 24.28 kB / 304.6 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.1415, allocations: 289.8 kB / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1415, allocations: 0 / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1415, allocations: 10.97 kB / 304.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.1416, allocations: 18.48 kB / 304.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1417, allocations: 107.4 kB / 305 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.1425, allocations: 0.7678 MB / 305.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1427, allocations: 154.5 kB / 305.9 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.1427, allocations: 39.72 kB / 306 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1427, allocations: 9.109 kB / 306 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1428, allocations: 37.53 kB / 306 MB, free: 17.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.1428, allocations: 0 / 306 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002359/0.143, allocations: 97.3 kB / 306.1 MB, free: 17.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.143, allocations: 105.3 kB / 306.2 MB, free: 17.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1432, allocations: 217.3 kB / 306.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1432, allocations: 27.5 kB / 306.4 MB, free: 17.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.1432, allocations: 201.4 kB / 306.6 MB, free: 16.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1433, allocations: 49.41 kB / 306.7 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.1433, allocations: 59 kB / 306.8 MB, free: 16.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.1434, allocations: 334 kB / 307.1 MB, free: 16.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.1434, allocations: 30.58 kB / 307.1 MB, free: 16.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.1435, allocations: 135.3 kB / 307.2 MB, free: 16.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1437, allocations: 206.5 kB / 307.4 MB, free: 16.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1437, allocations: 5.375 kB / 307.4 MB, free: 16.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002454/0.1439, allocations: 187.2 kB / 307.6 MB, free: 16.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.144, allocations: 6.469 kB / 307.6 MB, free: 16.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.144, allocations: 15.97 kB / 307.7 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.144, allocations: 5.719 kB / 307.7 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1442, allocations: 45.34 kB / 307.7 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1442, allocations: 5.766 kB / 307.7 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1443, allocations: 37.92 kB / 307.7 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1443, allocations: 13.44 kB / 307.8 MB, free: 16.04 MB / 282.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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.0001052/0.1444, allocations: 135 kB / 307.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1445, allocations: 17 kB / 307.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1447, allocations: 137.6 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1447, allocations: 7.141 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1447, allocations: 1.062 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1447, allocations: 2.297 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.145, allocations: 133.5 kB / 308.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.145, allocations: 16.14 kB / 308.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.1451, allocations: 17.27 kB / 308.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1451, allocations: 5.656 kB / 308.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1451, allocations: 7.062 kB / 308.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1451, allocations: 1.891 kB / 308.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1451, allocations: 1.156 kB / 308.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1453, allocations: 380 kB / 308.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.1453, allocations: 35.27 kB / 308.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1453, allocations: 1.188 kB / 308.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1454, allocations: 8.469 kB / 308.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1455, allocations: 14.94 kB / 308.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1455, allocations: 8.203 kB / 308.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.1456, allocations: 65.34 kB / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1456, allocations: 0 / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000415/0.146, allocations: 109.5 kB / 308.8 MB, free: 15.3 MB / 282.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.0002451/0.1462, allocations: 143.1 kB / 309 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1465, allocations: 259.6 kB / 309.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.1465, allocations: 1.594 kB / 309.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.1466, allocations: 196.7 kB / 309.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1469, allocations: 42.75 kB / 309.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/0.1479, allocations: 0.5229 MB / 310 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.148, allocations: 108.2 kB / 310.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.433e-05/0.148, allocations: 21.36 kB / 310.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1482, allocations: 110.8 kB / 310.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1482, allocations: 0 / 310.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of Templates: time 0.007902/0.1561, allocations: 4.543 MB / 314.8 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_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.2616366650909185]