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.001562/0.001562, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00143/0.00143, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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 0.9604/0.9604, allocations: 177 MB / 204.8 MB, free: 5.609 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.2908/0.2908, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.286e-05, allocations: 3.016 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.006017/0.00604, allocations: 2.263 MB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.01076, allocations: 1.157 MB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.01088, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.01116, allocations: 59.61 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.01141, allocations: 115.2 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.01196, allocations: 207.2 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.01246, allocations: 0.5092 MB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.01252, allocations: 21.28 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.01285, allocations: 235 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.01307, allocations: 171.4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.0131, allocations: 16 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.01641, allocations: 143.8 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.01656, allocations: 107.5 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01669, allocations: 115.5 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.01729, allocations: 0.4981 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.0173, allocations: 0 / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0173, allocations: 0 / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.01731, allocations: 0 / 384.4 MB, free: 12.43 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.0009232/0.01823, allocations: 0.7842 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01827, allocations: 8.031 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.01859, allocations: 112.6 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.01897, allocations: 251.8 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.019, allocations: 33.38 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.01905, allocations: 44.38 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.01962, allocations: 456.3 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.01963, allocations: 3.938 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.01967, allocations: 20 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.01972, allocations: 21 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.02004, allocations: 177.8 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.02165, allocations: 1.399 MB / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.02194, allocations: 165.2 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.02205, allocations: 59.12 kB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.02209, allocations: 19.88 kB / 387.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.02212, allocations: 37.38 kB / 388 MB, free: 8.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.02212, allocations: 4 kB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004397/0.02256, allocations: 189.5 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.02261, allocations: 106.8 kB / 388.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.02282, allocations: 312.4 kB / 388.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.02284, allocations: 33.7 kB / 388.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.02299, allocations: 302.9 kB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.02305, allocations: 79.36 kB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02315, allocations: 95.58 kB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.02329, allocations: 0.5079 MB / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.02339, allocations: 44.25 kB / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.02357, allocations: 220.2 kB / 389.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.02385, allocations: 284.5 kB / 390.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.02386, allocations: 0 / 390.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003704/0.02423, allocations: 273.6 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02425, allocations: 8 kB / 390.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/0.02429, allocations: 43.98 kB / 390.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.02431, allocations: 8 kB / 390.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.02444, allocations: 27.92 kB / 390.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.02445, allocations: 11.98 kB / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.02456, allocations: 35.78 kB / 390.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.02459, allocations: 27.92 kB / 390.5 MB, free: 5.855 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.0001182/0.0247, allocations: 176.5 kB / 390.7 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.02476, allocations: 31.8 kB / 390.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.02513, allocations: 274.1 kB / 391 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.02514, allocations: 4 kB / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02514, allocations: 0 / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.02515, allocations: 7.984 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.0255, allocations: 340.3 kB / 391.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.02554, allocations: 35.98 kB / 391.4 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.02559, allocations: 15.98 kB / 391.4 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02559, allocations: 4 kB / 391.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.02561, allocations: 15.98 kB / 391.4 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.02562, allocations: 0 / 391.4 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02562, allocations: 3.938 kB / 391.4 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.02599, allocations: 0.5455 MB / 392 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.02602, allocations: 27.86 kB / 392 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.02605, allocations: 0 / 392 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02615, allocations: 15.98 kB / 392 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.02622, allocations: 31.89 kB / 392 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.02624, allocations: 12 kB / 392 MB, free: 4.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.02634, allocations: 193.1 kB / 392.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02634, allocations: 0 / 392.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.02674, allocations: 163.4 kB / 392.4 MB, free: 3.918 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.0002562/0.027, allocations: 159 kB / 392.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.02743, allocations: 486.5 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02743, allocations: 4 kB / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.02763, allocations: 388 kB / 393.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.02797, allocations: 44.48 kB / 393.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.02925, allocations: 0.759 MB / 394.2 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.02935, allocations: 139.9 kB / 394.3 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.277e-05/0.02943, allocations: 41.86 kB / 394.4 MB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.02948, allocations: 24.48 kB / 394.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02948, allocations: 0 / 394.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of Templates: time 0.007936/0.03741, allocations: 6.337 MB / 400.7 MB, free: 11.43 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.3790651909075677]