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.001021/0.001021, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001147/0.001147, allocations: 167.9 kB / 25.61 MB, free: 8.871 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.945/0.945, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.2038/0.2038, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.053e-06/2.053e-06, allocations: 4 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.378e-05, allocations: 2.312 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005868/0.005892, allocations: 2.238 MB / 379.5 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.0073, allocations: 1.145 MB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.007419, allocations: 8 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.007667, allocations: 55.66 kB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.007942, allocations: 123.2 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.008461, allocations: 191.3 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.00888, allocations: 0.5169 MB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.008943, allocations: 25.27 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.009213, allocations: 223.2 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.009387, allocations: 171.4 kB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.009416, allocations: 12 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.009668, allocations: 151.7 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.009753, allocations: 103.5 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.009857, allocations: 119.5 kB / 382.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.0103, allocations: 0.4942 MB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.0103, allocations: 0 / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.0103, allocations: 4 kB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.01031, allocations: 0 / 382.9 MB, free: 19.96 MB / 314.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.003843/0.01415, allocations: 0.788 MB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.01419, allocations: 15.98 kB / 383.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.01449, allocations: 104.6 kB / 383.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.01475, allocations: 239.8 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.01477, allocations: 37.31 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.01482, allocations: 48.31 kB / 384.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.01526, allocations: 412.3 kB / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.01527, allocations: 3.938 kB / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.0153, allocations: 20 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.01533, allocations: 28.98 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01552, allocations: 134.8 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/0.01963, allocations: 1.286 MB / 386 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.01983, allocations: 156.8 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.0199, allocations: 51.05 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.01994, allocations: 11.94 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.01995, allocations: 41.39 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.01995, allocations: 0 / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003963/0.02035, allocations: 185.5 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.02038, allocations: 106.8 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.02052, allocations: 308.3 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.02054, allocations: 33.7 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.02063, allocations: 306.9 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.02067, allocations: 79.36 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.02077, allocations: 91.55 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.02082, allocations: 0.5078 MB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.0209, allocations: 32.25 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.02103, allocations: 219.6 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.02126, allocations: 270.1 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02126, allocations: 3.938 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003579/0.02162, allocations: 255.1 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.02163, allocations: 12.06 kB / 388.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/0.02168, allocations: 39.98 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.0217, allocations: 8 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.02181, allocations: 31.91 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.02182, allocations: 11.94 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.02196, allocations: 35.83 kB / 388.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.02199, allocations: 19.98 kB / 388.7 MB, free: 13.67 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.0001097/0.0221, allocations: 192.4 kB / 388.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.02218, allocations: 23.86 kB / 388.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.02557, allocations: 255.5 kB / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.02558, allocations: 4 kB / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02558, allocations: 4 kB / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.02558, allocations: 0 / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.02592, allocations: 241 kB / 389.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-05/0.02597, allocations: 39.98 kB / 389.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.02603, allocations: 19.92 kB / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.02604, allocations: 0 / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.02606, allocations: 15.98 kB / 389.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.02606, allocations: 4 kB / 389.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02606, allocations: 4 kB / 389.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.02636, allocations: 0.5319 MB / 390 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.02638, allocations: 23.84 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.02642, allocations: 11.98 kB / 390.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.02658, allocations: 7.938 kB / 390.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.02664, allocations: 23.97 kB / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.02666, allocations: 12 kB / 390.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.02673, allocations: 185.1 kB / 390.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02673, allocations: 0 / 390.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.02725, allocations: 167.4 kB / 390.5 MB, free: 11.86 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.0002219/0.02747, allocations: 155 kB / 390.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.02779, allocations: 476.7 kB / 391.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.02779, allocations: 0 / 391.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.02794, allocations: 393.8 kB / 391.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.03141, allocations: 56.44 kB / 391.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.03261, allocations: 0.7503 MB / 392.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.605e-05/0.0327, allocations: 147.9 kB / 392.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.03279, allocations: 25.81 kB / 392.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.033, allocations: 174.2 kB / 392.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.033, allocations: 0 / 392.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of Templates: time 0.01127/0.04427, allocations: 6.181 MB / 398.8 MB, free: 3.418 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 -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.3425057688727975]