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_laminar.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.0009241/0.0009241, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009542/0.0009542, allocations: 169 kB / 24.14 MB, free: 360 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.9932/0.9932, allocations: 158.6 MB / 186 MB, free: 2.773 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.1554/0.1554, allocations: 32.38 MB / 270.7 MB, free: 14.61 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_laminar,tolerance=1e-07,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,]+.|Nu_3.[0-9,]+.|Nu_4.[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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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,]+.|Nu_3.[0-9,]+.|Nu_4.[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_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 299.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.395e-05, allocations: 2.312 kB / 299.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.1409/0.1409, allocations: 2.278 MB / 301.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1427, allocations: 1.145 MB / 302.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1428, allocations: 1.219 kB / 302.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1431, allocations: 73 kB / 302.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1434, allocations: 112.9 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.144, allocations: 180.4 kB / 302.9 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.1445, allocations: 0.5203 MB / 303.5 MB, free: 18.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.1446, allocations: 26.72 kB / 303.5 MB, free: 18.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.145, allocations: 222.2 kB / 303.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.1453, allocations: 169.3 kB / 303.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.1453, allocations: 13.56 kB / 303.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1457, allocations: 143.2 kB / 304 MB, free: 18.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1458, allocations: 103.8 kB / 304.1 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1459, allocations: 120.7 kB / 304.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.1466, allocations: 494.2 kB / 304.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1467, allocations: 0.7969 kB / 304.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1467, allocations: 0.6562 kB / 304.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1467, allocations: 1.531 kB / 304.7 MB, free: 18.54 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009309/0.1476, allocations: 0.6311 MB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1476, allocations: 9.156 kB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1478, allocations: 73.12 kB / 305.4 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.148, allocations: 199.6 kB / 305.6 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.148, allocations: 31.56 kB / 305.7 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.148, allocations: 45.66 kB / 305.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.1486, allocations: 422.1 kB / 306.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1486, allocations: 3.938 kB / 306.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.1486, allocations: 25.23 kB / 306.1 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.1487, allocations: 23.06 kB / 306.2 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.149, allocations: 167.4 kB / 306.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1502, allocations: 1.022 MB / 307.4 MB, free: 16.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1504, allocations: 165 kB / 307.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.1505, allocations: 36.11 kB / 307.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.1505, allocations: 17.97 kB / 307.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1505, allocations: 35.73 kB / 307.6 MB, free: 16.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.1505, allocations: 0 / 307.6 MB, free: 16.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003464/0.1509, allocations: 126.7 kB / 307.7 MB, free: 16.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.1509, allocations: 106.3 kB / 307.8 MB, free: 16.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1511, allocations: 227.2 kB / 308.1 MB, free: 16.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1511, allocations: 30.83 kB / 308.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.1512, allocations: 254.6 kB / 308.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1512, allocations: 70.3 kB / 308.4 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.1513, allocations: 72.5 kB / 308.5 MB, free: 16.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.1513, allocations: 340 kB / 308.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.1514, allocations: 32.14 kB / 308.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1515, allocations: 147.5 kB / 309 MB, free: 15.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1518, allocations: 222.2 kB / 309.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1518, allocations: 1.375 kB / 309.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002938/0.1521, allocations: 209.1 kB / 309.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1521, allocations: 6.906 kB / 309.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/0.1521, allocations: 26.36 kB / 309.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1521, allocations: 6.156 kB / 309.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1523, allocations: 41.52 kB / 309.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1523, allocations: 6.625 kB / 309.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1524, allocations: 37.92 kB / 309.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1524, allocations: 14.66 kB / 309.5 MB, free: 15.26 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: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001214/0.1526, allocations: 151.2 kB / 309.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1526, allocations: 20.06 kB / 309.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.1529, allocations: 199.6 kB / 309.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1529, allocations: 4.828 kB / 309.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1529, allocations: 1.344 kB / 309.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.153, allocations: 6.047 kB / 309.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1533, allocations: 185.8 kB / 310.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-05/0.1533, allocations: 27.34 kB / 310.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.1534, allocations: 23.22 kB / 310.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1534, allocations: 1.344 kB / 310.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1534, allocations: 8.5 kB / 310.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1534, allocations: 1.094 kB / 310.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1534, allocations: 2.016 kB / 310.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1536, allocations: 395.5 kB / 310.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.1537, allocations: 29.98 kB / 310.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1537, allocations: 6.781 kB / 310.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1538, allocations: 13.7 kB / 310.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.1539, allocations: 21.59 kB / 310.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1539, allocations: 9.578 kB / 310.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.154, allocations: 65.89 kB / 310.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.154, allocations: 0 / 310.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.1545, allocations: 157.6 kB / 310.8 MB, free: 14.43 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002427/0.1547, allocations: 145.3 kB / 311 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.155, allocations: 451.9 kB / 311.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.155, allocations: 2.656 kB / 311.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1552, allocations: 373.2 kB / 311.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1555, allocations: 38.83 kB / 311.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1567, allocations: 0.746 MB / 312.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.1568, allocations: 130.6 kB / 312.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.1569, allocations: 24.62 kB / 312.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.1571, allocations: 143.1 kB / 312.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1571, allocations: 0 / 312.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Templates: time 0.008272/0.1654, allocations: 5.927 MB / 318.8 MB, free: 10.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar/kc_laminar.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.182693195063621]