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.0009202/0.0009202, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001056/0.001056, allocations: 166 kB / 25.61 MB, free: 8.582 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.9199/0.9199, allocations: 177.1 MB / 206 MB, free: 4.523 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.1424/0.1424, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.771e-05, allocations: 3.625 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002756/0.002774, allocations: 2.231 MB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004068, allocations: 1.141 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004185, allocations: 7.875 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.004442, allocations: 55.67 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.004657, allocations: 123.2 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.00513, allocations: 199.3 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.005491, allocations: 0.5092 MB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.005555, allocations: 25.27 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.005808, allocations: 227.2 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.005974, allocations: 171.4 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.006001, allocations: 16 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.00623, allocations: 147.7 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.006307, allocations: 107.5 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.006389, allocations: 123.5 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.00677, allocations: 0.4903 MB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.006771, allocations: 0 / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006773, allocations: 3.984 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.006779, allocations: 0 / 384.9 MB, free: 17.79 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.0006572/0.007436, allocations: 0.7802 MB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.007474, allocations: 12.03 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.007731, allocations: 116.6 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007963, allocations: 227.8 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.007983, allocations: 33.38 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.008022, allocations: 48.34 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.008377, allocations: 424.3 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.008391, allocations: 3.938 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.008415, allocations: 19.94 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.008445, allocations: 21 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.008601, allocations: 142.8 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.009547, allocations: 1.286 MB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.009716, allocations: 157.1 kB / 388.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.009779, allocations: 47.05 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.009811, allocations: 15.92 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.00983, allocations: 41.39 kB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.009831, allocations: 0 / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003585/0.01019, allocations: 191.5 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01022, allocations: 106.8 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01036, allocations: 304.1 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.01037, allocations: 29.7 kB / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.01047, allocations: 306.9 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.01051, allocations: 75.36 kB / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.01059, allocations: 91.56 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.01065, allocations: 0.5156 MB / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.01071, allocations: 28.27 kB / 389.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.01083, allocations: 217.2 kB / 390.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01103, allocations: 272.4 kB / 390.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01104, allocations: 7.938 kB / 390.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002886/0.01133, allocations: 253.3 kB / 390.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01134, allocations: 8 kB / 390.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/0.01138, allocations: 43.92 kB / 390.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01139, allocations: 8 kB / 390.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.01149, allocations: 27.92 kB / 390.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01149, allocations: 11.98 kB / 390.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.01159, allocations: 31.84 kB / 390.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.01161, allocations: 20.23 kB / 390.7 MB, free: 11.5 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.0001006/0.01171, allocations: 192.3 kB / 390.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.01178, allocations: 27.86 kB / 390.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.01208, allocations: 260.7 kB / 391.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01209, allocations: 4 kB / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01209, allocations: 0 / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01209, allocations: 3.984 kB / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.01234, allocations: 241 kB / 391.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.01237, allocations: 39.98 kB / 391.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.01242, allocations: 19.92 kB / 391.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01242, allocations: 8 kB / 391.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01244, allocations: 8 kB / 391.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01244, allocations: 4 kB / 391.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01244, allocations: 0 / 391.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.01267, allocations: 0.5337 MB / 392.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.0127, allocations: 27.84 kB / 392.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01272, allocations: 3.984 kB / 392.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01283, allocations: 15.98 kB / 392.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.01289, allocations: 23.91 kB / 392.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.0129, allocations: 16 kB / 392.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.01295, allocations: 189.1 kB / 392.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 392.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.01331, allocations: 163.4 kB / 392.5 MB, free: 9.68 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.0001748/0.01348, allocations: 159 kB / 392.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.01376, allocations: 465.3 kB / 393.1 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01376, allocations: 3.938 kB / 393.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.0139, allocations: 389 kB / 393.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.01423, allocations: 51.59 kB / 393.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.01523, allocations: 0.7541 MB / 394.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.0153, allocations: 143.8 kB / 394.4 MB, free: 7.523 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.01536, allocations: 21.83 kB / 394.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.01554, allocations: 178.2 kB / 394.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01554, allocations: 0 / 394.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of Templates: time 0.007382/0.02293, allocations: 6.194 MB / 400.8 MB, free: 1.234 MB / 314.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.1705671208910644]