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_overall.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.001018/0.001018, 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.001031/0.001031, allocations: 176.2 kB / 24.91 MB, free: 8.766 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.9455/0.9455, allocations: 177.1 MB / 205.3 MB, free: 5.137 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.2629/0.2629, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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_overall,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,]+.|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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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,]+.|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_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.913e-05, allocations: 5.078 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002401/0.00242, allocations: 2.299 MB / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.004582, allocations: 2.103 MB / 329.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.004676, allocations: 4 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.004914, allocations: 79.41 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.005111, allocations: 115.2 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.005944, allocations: 462 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.006364, allocations: 0.5518 MB / 330.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.006426, allocations: 37.19 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.006673, allocations: 239.1 kB / 331.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.006839, allocations: 167.4 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.006866, allocations: 16 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.00735, allocations: 419.1 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.007443, allocations: 107.5 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.848e-05/0.007542, allocations: 127.5 kB / 332 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.008178, allocations: 0.7395 MB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00818, allocations: 0 / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008181, allocations: 0 / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.008185, allocations: 0 / 332.7 MB, free: 236 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0006834/0.008869, allocations: 0.7258 MB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.008897, allocations: 16.03 kB / 333.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.009125, allocations: 112.8 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.009341, allocations: 216.9 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.009365, allocations: 45.67 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.009408, allocations: 52.38 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.00983, allocations: 489.3 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009843, allocations: 3.938 kB / 334.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.00987, allocations: 20 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.009904, allocations: 29.31 kB / 334.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.01012, allocations: 206.6 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01116, allocations: 1.133 MB / 335.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.01134, allocations: 169.3 kB / 335.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.01139, allocations: 34.56 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/0.01148, allocations: 15.92 kB / 335.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.0115, allocations: 38.5 kB / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.0115, allocations: 0 / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002776/0.01178, allocations: 132.7 kB / 336.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01181, allocations: 106.8 kB / 336.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.01197, allocations: 314.6 kB / 336.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01199, allocations: 33.7 kB / 336.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.0121, allocations: 307.5 kB / 336.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.01214, allocations: 75.39 kB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.01224, allocations: 102 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.01231, allocations: 346.7 kB / 337.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.01239, allocations: 55.81 kB / 337.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.01257, allocations: 313.1 kB / 337.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01287, allocations: 443.9 kB / 338.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.01288, allocations: 4 kB / 338.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003446/0.01322, allocations: 337 kB / 338.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01324, allocations: 8 kB / 338.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.01328, allocations: 31.98 kB / 338.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.0133, allocations: 15.98 kB / 338.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01342, allocations: 63.84 kB / 338.6 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01343, allocations: 19.92 kB / 338.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01358, allocations: 71.5 kB / 338.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.0136, allocations: 24 kB / 338.7 MB, free: 9.719 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.000124/0.01373, allocations: 172.5 kB / 338.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.01378, allocations: 19.98 kB / 338.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.01408, allocations: 211.7 kB / 339.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01408, allocations: 4 kB / 339.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01408, allocations: 4 kB / 339.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01409, allocations: 0 / 339.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01434, allocations: 205.6 kB / 339.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/0.01438, allocations: 19.98 kB / 339.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.01444, allocations: 19.92 kB / 339.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01444, allocations: 4 kB / 339.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.01446, allocations: 4 kB / 339.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01446, allocations: 4 kB / 339.4 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01446, allocations: 0 / 339.4 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.01481, allocations: 407 kB / 339.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.01485, allocations: 35.73 kB / 339.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.01489, allocations: 0 / 339.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.01509, allocations: 19.98 kB / 339.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.01515, allocations: 15.97 kB / 339.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.01517, allocations: 8 kB / 339.9 MB, free: 8.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.01527, allocations: 96.62 kB / 340 MB, free: 8.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01527, allocations: 3.938 kB / 340 MB, free: 8.434 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006499/0.01592, allocations: 223.2 kB / 340.2 MB, free: 8.215 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.0003528/0.01627, allocations: 240.8 kB / 340.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.01669, allocations: 0.4951 MB / 340.9 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.01671, allocations: 8.562 kB / 340.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.01692, allocations: 373.2 kB / 341.3 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.01734, allocations: 45.31 kB / 341.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.0187, allocations: 0.8252 MB / 342.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.0188, allocations: 137 kB / 342.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.0189, allocations: 34.89 kB / 342.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.01916, allocations: 155.3 kB / 342.5 MB, free: 5.707 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01916, allocations: 0 / 342.5 MB, free: 5.707 MB / 314.7 MB Notification: Performance of Templates: time 0.01139/0.03055, allocations: 8.308 MB / 350.8 MB, free: 13.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.164549697190523]