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.001066/0.001066, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001023/0.001023, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9802/0.9802, allocations: 177.1 MB / 205 MB, free: 5.59 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.3212/0.3212, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.683e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003695/0.003722, allocations: 2.262 MB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.00581, allocations: 1.16 MB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.005947, allocations: 4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.006271, allocations: 59.66 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.006589, allocations: 123.2 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.007256, allocations: 187.2 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.007719, allocations: 0.5209 MB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.007779, allocations: 25.27 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.008095, allocations: 227.1 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.00829, allocations: 171.4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.00832, allocations: 12 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.00857, allocations: 147.8 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.008668, allocations: 103.5 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.008774, allocations: 119.5 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.009279, allocations: 0.4942 MB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.009282, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009284, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.009291, allocations: 4 kB / 383.7 MB, free: 12.98 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.0008906/0.01018, allocations: 0.7803 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.01022, allocations: 8.031 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.01049, allocations: 116.6 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.01076, allocations: 239.8 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.01079, allocations: 37.31 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.01083, allocations: 48.38 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.01137, allocations: 456.4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01138, allocations: 7.938 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01141, allocations: 16 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.01145, allocations: 25 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.0117, allocations: 165.8 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01294, allocations: 1.406 MB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.01318, allocations: 161.2 kB / 387.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.01327, allocations: 61.06 kB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.01332, allocations: 15.86 kB / 387.2 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.01334, allocations: 41.39 kB / 387.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.036e-06/0.01335, allocations: 0 / 387.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004295/0.01378, allocations: 193.4 kB / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.01382, allocations: 110.8 kB / 387.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.014, allocations: 312.2 kB / 387.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.01402, allocations: 25.7 kB / 387.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01415, allocations: 307.1 kB / 388.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.01419, allocations: 75.38 kB / 388.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.01429, allocations: 91.58 kB / 388.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.01442, allocations: 0.5157 MB / 388.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.01451, allocations: 40.25 kB / 388.9 MB, free: 7.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.01467, allocations: 219.2 kB / 389.1 MB, free: 7.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.01493, allocations: 288.2 kB / 389.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01494, allocations: 0 / 389.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003484/0.01529, allocations: 265.1 kB / 389.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.0153, allocations: 10.34 kB / 389.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/0.01534, allocations: 40.52 kB / 389.7 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01536, allocations: 4 kB / 389.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01547, allocations: 47.89 kB / 389.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.01548, allocations: 11.94 kB / 389.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01559, allocations: 35.77 kB / 389.8 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.01561, allocations: 27.94 kB / 389.8 MB, free: 6.414 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.0001106/0.01572, allocations: 176.5 kB / 390 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.01578, allocations: 31.86 kB / 390 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.01614, allocations: 267.4 kB / 390.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01615, allocations: 4 kB / 390.3 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01615, allocations: 4 kB / 390.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01615, allocations: 0 / 390.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.01648, allocations: 340.3 kB / 390.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/0.01652, allocations: 39.98 kB / 390.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.01657, allocations: 19.92 kB / 390.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01658, allocations: 0 / 390.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01659, allocations: 12 kB / 390.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.0166, allocations: 4 kB / 390.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0166, allocations: 0 / 390.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.01695, allocations: 0.5493 MB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01698, allocations: 23.86 kB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.017, allocations: 11.94 kB / 391.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01711, allocations: 11.98 kB / 391.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.01717, allocations: 23.91 kB / 391.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01719, allocations: 16 kB / 391.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.01728, allocations: 197.1 kB / 391.5 MB, free: 4.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01728, allocations: 0 / 391.5 MB, free: 4.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.01766, allocations: 159.4 kB / 391.7 MB, free: 4.484 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.0002449/0.01791, allocations: 163 kB / 391.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.01831, allocations: 489.6 kB / 392.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01831, allocations: 0 / 392.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.0185, allocations: 392 kB / 392.7 MB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.01884, allocations: 44.41 kB / 392.7 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02006, allocations: 0.7545 MB / 393.5 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.02014, allocations: 135.9 kB / 393.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.901e-05/0.02023, allocations: 53.77 kB / 393.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.02028, allocations: 24.5 kB / 393.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02028, allocations: 0 / 393.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of Templates: time 0.008008/0.02829, allocations: 6.335 MB / 400 MB, free: 11.99 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.2962236581370234]