Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.0009723/0.0009723, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001057/0.001057, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.106/1.106, allocations: 177 MB / 205.9 MB, free: 4.453 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.1515/0.1515, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.42e-05, allocations: 3.156 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002132/0.002146, allocations: 2.289 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.004191, allocations: 2.063 MB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004292, allocations: 4 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.004543, allocations: 87.41 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.004759, allocations: 107.3 kB / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.005452, allocations: 457.9 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.005839, allocations: 0.5402 MB / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.005915, allocations: 25.28 kB / 385.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.006201, allocations: 243.1 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.006389, allocations: 183.3 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.006421, allocations: 12 kB / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.006867, allocations: 407.2 kB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.00696, allocations: 107.5 kB / 386.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.00705, allocations: 131.5 kB / 386.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.007776, allocations: 0.7395 MB / 387.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007779, allocations: 0 / 387.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00778, allocations: 0 / 387.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.007786, allocations: 4 kB / 387.4 MB, free: 15.32 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0007803/0.008566, allocations: 0.8853 MB / 388.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.008606, allocations: 12.02 kB / 388.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.00887, allocations: 120.6 kB / 388.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.009112, allocations: 247.7 kB / 388.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.00914, allocations: 41.69 kB / 388.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.009179, allocations: 52.38 kB / 388.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.009593, allocations: 485 kB / 389.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.00961, allocations: 7.875 kB / 389.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.009638, allocations: 20 kB / 389.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.009676, allocations: 29.3 kB / 389.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.009866, allocations: 173 kB / 389.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01098, allocations: 1.428 MB / 390.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.01116, allocations: 156.8 kB / 391 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.01123, allocations: 51.05 kB / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.01126, allocations: 19.92 kB / 391.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.01129, allocations: 41.33 kB / 391.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.01129, allocations: 0 / 391.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003766/0.01166, allocations: 195.2 kB / 391.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.0117, allocations: 106.8 kB / 391.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.01191, allocations: 417.9 kB / 391.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01192, allocations: 25.7 kB / 391.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.01205, allocations: 378.2 kB / 392.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.01209, allocations: 79.61 kB / 392.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01219, allocations: 147.7 kB / 392.5 MB, free: 10 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.01228, allocations: 0.5273 MB / 393 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.01235, allocations: 48.89 kB / 393 MB, free: 9.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.01254, allocations: 443.6 kB / 393.5 MB, free: 8.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.01288, allocations: 0.5318 MB / 394 MB, free: 8.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.01289, allocations: 4 kB / 394 MB, free: 8.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004254/0.01331, allocations: 413 kB / 394.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01333, allocations: 12 kB / 394.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.74e-05/0.01338, allocations: 51.97 kB / 394.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.0134, allocations: 12 kB / 394.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01352, allocations: 64.47 kB / 394.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01353, allocations: 19.92 kB / 394.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01368, allocations: 83.47 kB / 394.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.01371, allocations: 28 kB / 394.7 MB, free: 7.414 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.0001233/0.01383, allocations: 204.4 kB / 394.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.0139, allocations: 35.81 kB / 394.9 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.01423, allocations: 277.5 kB / 395.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.01424, allocations: 7.984 kB / 395.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01424, allocations: 4 kB / 395.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01425, allocations: 0 / 395.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.01452, allocations: 268.9 kB / 395.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/0.01456, allocations: 39.98 kB / 395.5 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.01461, allocations: 15.98 kB / 395.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01461, allocations: 0 / 395.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01463, allocations: 16 kB / 395.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01463, allocations: 0 / 395.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01463, allocations: 4 kB / 395.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.01489, allocations: 0.5453 MB / 396.1 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.01492, allocations: 27.8 kB / 396.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01494, allocations: 8 kB / 396.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01506, allocations: 8 kB / 396.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.01512, allocations: 27.97 kB / 396.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01513, allocations: 11.98 kB / 396.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.18e-05/0.01521, allocations: 219 kB / 396.4 MB, free: 5.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01521, allocations: 0 / 396.4 MB, free: 5.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.01568, allocations: 223.2 kB / 396.6 MB, free: 5.441 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.0003199/0.016, allocations: 262.6 kB / 396.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01634, allocations: 0.5368 MB / 397.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01634, allocations: 3.938 kB / 397.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.01648, allocations: 386 kB / 397.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.01683, allocations: 50.17 kB / 397.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.01787, allocations: 0.8358 MB / 398.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.59e-05/0.01794, allocations: 156.5 kB / 398.8 MB, free: 3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.01802, allocations: 30.89 kB / 398.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.01821, allocations: 194.2 kB / 399 MB, free: 2.781 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01821, allocations: 0 / 399 MB, free: 2.781 MB / 314.7 MB Notification: Performance of Templates: time 0.01013/0.02834, allocations: 8.577 MB / 407.6 MB, free: 10.34 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.766579244285822]