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_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.001549/0.001549, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00122/0.00122, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.9926/0.9926, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2669/0.2669, allocations: 34.26 MB / 296 MB, free: 0.7852 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_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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.656e-05, allocations: 2.312 kB / 378.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002833/0.002859, allocations: 2.25 MB / 380.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.00441, allocations: 1.16 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004539, allocations: 4 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.004832, allocations: 59.66 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.005071, allocations: 115.2 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.005656, allocations: 191.2 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.006094, allocations: 0.517 MB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.006154, allocations: 17.28 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.006467, allocations: 231.1 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.006659, allocations: 175.4 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.00669, allocations: 12 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.006937, allocations: 139.8 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.007046, allocations: 115.5 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.007156, allocations: 123.5 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.007664, allocations: 498.1 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007667, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007668, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.007676, allocations: 0 / 383.6 MB, free: 13.36 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008709/0.008547, allocations: 0.7881 MB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.008585, allocations: 12.03 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.008873, allocations: 120.5 kB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.009217, allocations: 239.8 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.009252, allocations: 29.38 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.009304, allocations: 56.34 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.009844, allocations: 448.4 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.009858, allocations: 3.938 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.009887, allocations: 16 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.00993, allocations: 28.98 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.01019, allocations: 173.8 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01147, allocations: 1.399 MB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.01173, allocations: 165.2 kB / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.01183, allocations: 55.19 kB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.01187, allocations: 19.86 kB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.0119, allocations: 41.39 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.0119, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.000453/0.01235, allocations: 193.6 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.0124, allocations: 110.8 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.01259, allocations: 312.2 kB / 387.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01261, allocations: 25.7 kB / 387.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01274, allocations: 310.9 kB / 388.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.01278, allocations: 71.36 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.01288, allocations: 95.58 kB / 388.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.013, allocations: 0.5117 MB / 388.8 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.0131, allocations: 40.25 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.01328, allocations: 223.2 kB / 389.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.01357, allocations: 285.1 kB / 389.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.01358, allocations: 4 kB / 389.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003799/0.01396, allocations: 269.5 kB / 389.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01397, allocations: 4 kB / 389.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.01402, allocations: 43.98 kB / 389.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.01404, allocations: 4 kB / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01418, allocations: 35.91 kB / 389.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.0142, allocations: 7.938 kB / 389.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01432, allocations: 43.77 kB / 389.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.01435, allocations: 23.94 kB / 389.8 MB, free: 6.789 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].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.0001721/0.01452, allocations: 184.6 kB / 389.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.01459, allocations: 31.84 kB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.01501, allocations: 274.1 kB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.01502, allocations: 8 kB / 390.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01502, allocations: 0 / 390.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01503, allocations: 0 / 390.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01539, allocations: 336.3 kB / 390.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/0.01543, allocations: 39.98 kB / 390.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.0155, allocations: 19.92 kB / 390.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.0155, allocations: 0 / 390.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.01552, allocations: 12 kB / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01552, allocations: 8 kB / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01553, allocations: 0 / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.01591, allocations: 0.5455 MB / 391.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.01594, allocations: 27.78 kB / 391.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.01597, allocations: 4 kB / 391.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01609, allocations: 11.98 kB / 391.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.01617, allocations: 27.91 kB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01619, allocations: 16 kB / 391.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.01629, allocations: 197.1 kB / 391.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01629, allocations: 4 kB / 391.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004825/0.01677, allocations: 159.4 kB / 391.6 MB, free: 4.848 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 (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.0002661/0.01704, allocations: 155 kB / 391.8 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.01747, allocations: 484.6 kB / 392.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.01747, allocations: 0 / 392.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.01771, allocations: 395.1 kB / 392.7 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.01811, allocations: 45.66 kB / 392.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.01953, allocations: 0.7582 MB / 393.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.939e-05/0.01963, allocations: 139.9 kB / 393.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.01973, allocations: 45.78 kB / 393.6 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.01977, allocations: 20.5 kB / 393.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01977, allocations: 0 / 393.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of Templates: time 0.007678/0.02745, allocations: 5.551 MB / 399.2 MB, free: 13.15 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.426155603956431]