Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001188/0.001188, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001211/0.001211, allocations: 170 kB / 24.91 MB, free: 8.695 MB / 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 0.9839/0.9839, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2693/0.2693, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.021e-05, allocations: 4.031 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003597/0.003627, allocations: 2.29 MB / 325.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.005514, allocations: 1.172 MB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.005632, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.005892, allocations: 79.52 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.006116, allocations: 107.2 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.006638, allocations: 191.2 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.007233, allocations: 0.5209 MB / 327.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.007302, allocations: 29.2 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.007619, allocations: 227.2 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.007816, allocations: 163.4 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.007844, allocations: 20 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.008133, allocations: 147.8 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.008233, allocations: 107.5 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.008331, allocations: 123.5 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.008819, allocations: 0.4981 MB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008823, allocations: 0 / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008824, allocations: 0 / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.00883, allocations: 0 / 329 MB, free: 3.949 MB / 298.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.0006872/0.009518, allocations: 0.6372 MB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.00955, allocations: 12.03 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.009795, allocations: 100.9 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.01004, allocations: 213 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.01006, allocations: 37.38 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.0101, allocations: 40.38 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01052, allocations: 415.8 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01053, allocations: 11.86 kB / 330.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.01056, allocations: 24 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.01059, allocations: 24.98 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.01079, allocations: 164.5 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.0121, allocations: 1.007 MB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01229, allocations: 170.6 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.01235, allocations: 34.56 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.01238, allocations: 15.94 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.0124, allocations: 42.48 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/0.0124, allocations: 4 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002896/0.01269, allocations: 121 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.01273, allocations: 110.8 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01288, allocations: 229 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.0129, allocations: 29.7 kB / 332.4 MB, free: 348 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.013, allocations: 240.2 kB / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.01304, allocations: 79.33 kB / 332.7 MB, free: 24 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.01313, allocations: 69.89 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.01321, allocations: 330.7 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.01328, allocations: 39.34 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.0134, allocations: 156.6 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01361, allocations: 225.2 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01362, allocations: 0 / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002646/0.01388, allocations: 199.2 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.0139, allocations: 11.98 kB / 333.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/0.01394, allocations: 24 kB / 333.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01395, allocations: 4 kB / 333.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01406, allocations: 35.91 kB / 333.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01407, allocations: 20.41 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01418, allocations: 35.78 kB / 333.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.0142, allocations: 19.98 kB / 333.8 MB, free: 14.73 MB / 314.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.000113/0.01431, allocations: 136.5 kB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.01437, allocations: 15.98 kB / 334 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.01466, allocations: 207.4 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01467, allocations: 7.984 kB / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.01467, allocations: 0 / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.01467, allocations: 3.984 kB / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.015, allocations: 189.6 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/0.01504, allocations: 23.98 kB / 334.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.0151, allocations: 19.98 kB / 334.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01511, allocations: 4 kB / 334.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.01512, allocations: 8 kB / 334.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.01512, allocations: 0 / 334.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01513, allocations: 3.984 kB / 334.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.01538, allocations: 407.9 kB / 334.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.0154, allocations: 23.84 kB / 334.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.01543, allocations: 4 kB / 334.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01554, allocations: 11.98 kB / 334.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.01559, allocations: 27.91 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01561, allocations: 4 kB / 334.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.01566, allocations: 66.8 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01566, allocations: 0 / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000374/0.01604, allocations: 163.4 kB / 335.1 MB, free: 13.38 MB / 314.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.0002074/0.01625, allocations: 144.1 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.01656, allocations: 442.8 kB / 335.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.01657, allocations: 4.75 kB / 335.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01675, allocations: 369.3 kB / 336.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01705, allocations: 41.16 kB / 336.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.0182, allocations: 0.7472 MB / 336.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.01828, allocations: 127.9 kB / 337 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01835, allocations: 21.83 kB / 337 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.01855, allocations: 147.3 kB / 337.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01855, allocations: 0 / 337.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Templates: time 0.008781/0.02733, allocations: 5.933 MB / 343.1 MB, free: 5.297 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.1434950586408377]