Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 85.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 165 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.094/1.094, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2635/0.2635, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.047e-05, allocations: 3.016 kB / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002738/0.002758, allocations: 2.245 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.004371, allocations: 1.145 MB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.004487, allocations: 4 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.004799, allocations: 63.59 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.005086, allocations: 111.2 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.005729, allocations: 199.2 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.006188, allocations: 0.5131 MB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.006254, allocations: 17.28 kB / 383.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.006563, allocations: 235.1 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006744, allocations: 175.4 kB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.006773, allocations: 16 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.007015, allocations: 135.8 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.007102, allocations: 111.5 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.007189, allocations: 119.5 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.00762, allocations: 0.4903 MB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007622, allocations: 0 / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007622, allocations: 0 / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.007626, allocations: 0 / 384.8 MB, free: 12.21 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.0007033/0.00833, allocations: 0.7997 MB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.008365, allocations: 8.031 kB / 385.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.008589, allocations: 112.6 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.0088, allocations: 231.9 kB / 386 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.008824, allocations: 37.31 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.008863, allocations: 48.38 kB / 386.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.009265, allocations: 420.3 kB / 386.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.009278, allocations: 3.938 kB / 386.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.009304, allocations: 20 kB / 386.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.009336, allocations: 24.98 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.009494, allocations: 134.8 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01053, allocations: 1.29 MB / 387.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.01071, allocations: 153.2 kB / 388.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.01078, allocations: 47.19 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.01082, allocations: 35.73 kB / 388.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.01084, allocations: 33.39 kB / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.01084, allocations: 0 / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003312/0.01117, allocations: 177.4 kB / 388.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.01121, allocations: 110.8 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01136, allocations: 304.1 kB / 388.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01138, allocations: 29.7 kB / 388.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01152, allocations: 314.8 kB / 389.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.01156, allocations: 75.3 kB / 389.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.01164, allocations: 95.8 kB / 389.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01177, allocations: 0.5195 MB / 389.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.01183, allocations: 28.27 kB / 389.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.01197, allocations: 212.2 kB / 390 MB, free: 6.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.01219, allocations: 272.5 kB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01219, allocations: 0 / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002888/0.01248, allocations: 253.1 kB / 390.5 MB, free: 6.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01249, allocations: 4 kB / 390.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.01253, allocations: 43.98 kB / 390.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01255, allocations: 7.984 kB / 390.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.01264, allocations: 32.45 kB / 390.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.01265, allocations: 15.92 kB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.01274, allocations: 35.78 kB / 390.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.01277, allocations: 23.98 kB / 390.7 MB, free: 5.902 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_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.0001164/0.01288, allocations: 180.5 kB / 390.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.01294, allocations: 27.86 kB / 390.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.01324, allocations: 254 kB / 391.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01324, allocations: 4 kB / 391.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01324, allocations: 0 / 391.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01325, allocations: 7.984 kB / 391.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.01353, allocations: 248.9 kB / 391.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.01357, allocations: 35.98 kB / 391.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.01362, allocations: 23.92 kB / 391.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01362, allocations: 0 / 391.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01363, allocations: 12 kB / 391.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01364, allocations: 0 / 391.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01364, allocations: 4 kB / 391.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.01395, allocations: 0.5337 MB / 392 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.01397, allocations: 23.84 kB / 392 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01399, allocations: 7.938 kB / 392 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01409, allocations: 19.98 kB / 392.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.01415, allocations: 27.91 kB / 392.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01416, allocations: 12 kB / 392.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.01423, allocations: 189.1 kB / 392.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 392.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.01456, allocations: 159.4 kB / 392.4 MB, free: 4.098 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.0001963/0.01476, allocations: 159 kB / 392.6 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.01509, allocations: 464.7 kB / 393.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01509, allocations: 4.125 kB / 393.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.01529, allocations: 388 kB / 393.4 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01563, allocations: 48.34 kB / 393.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.0167, allocations: 0.7505 MB / 394.2 MB, free: 2.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.737e-05/0.0168, allocations: 147.9 kB / 394.4 MB, free: 1.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.01686, allocations: 29.81 kB / 394.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.01707, allocations: 170.2 kB / 394.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01707, allocations: 0 / 394.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of Templates: time 0.007637/0.0247, allocations: 6.075 MB / 400.7 MB, free: 11.72 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.187906158156693]