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.00143/0.00143, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001593/0.001593, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9959/0.9959, allocations: 177 MB / 205.2 MB, free: 5.051 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.3167/0.3167, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 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.283e-06/1.283e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.368e-05, allocations: 2.312 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005125/0.005148, allocations: 2.247 MB / 328.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.009829, allocations: 1.174 MB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.009964, allocations: 0 / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.01024, allocations: 75.53 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.0105, allocations: 111.2 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.01107, allocations: 191.3 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.0116, allocations: 0.5169 MB / 330.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.01168, allocations: 41.17 kB / 330.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.01201, allocations: 231.2 kB / 330.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.01523, allocations: 167.4 kB / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.01526, allocations: 16 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.01555, allocations: 143.8 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.01564, allocations: 107.5 kB / 331 MB, free: 2.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.01576, allocations: 115.6 kB / 331.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.01628, allocations: 0.502 MB / 331.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01629, allocations: 0 / 331.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01629, allocations: 0 / 331.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01629, allocations: 0 / 331.6 MB, free: 1.484 MB / 298.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.0007072/0.017, allocations: 0.6373 MB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01703, allocations: 12.03 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.01731, allocations: 96.86 kB / 332.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.01754, allocations: 209 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.01756, allocations: 33.38 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.01761, allocations: 44.38 kB / 332.6 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.02111, allocations: 419.8 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.02113, allocations: 3.938 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.02116, allocations: 20 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.0212, allocations: 28.92 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.02146, allocations: 164.6 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.02278, allocations: 1.015 MB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.023, allocations: 163.1 kB / 334.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.02307, allocations: 34.56 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.02311, allocations: 19.92 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.02314, allocations: 42.5 kB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.02314, allocations: 0 / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003418/0.02348, allocations: 119 kB / 334.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.02353, allocations: 106.8 kB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.02368, allocations: 229 kB / 334.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.0237, allocations: 29.7 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.02381, allocations: 244.1 kB / 335.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.02385, allocations: 71.34 kB / 335.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02396, allocations: 70.14 kB / 335.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.003096/0.02705, allocations: 350.6 kB / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.02713, allocations: 35.09 kB / 335.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.02727, allocations: 150.7 kB / 335.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.02752, allocations: 222 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02752, allocations: 0 / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003065/0.02783, allocations: 206.4 kB / 336.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.02785, allocations: 8 kB / 336.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/0.0279, allocations: 27.98 kB / 336.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.02791, allocations: 4 kB / 336.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.02803, allocations: 36.44 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.02804, allocations: 15.92 kB / 336.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.02817, allocations: 35.78 kB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.0282, allocations: 15.98 kB / 336.4 MB, free: 12.29 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.0001261/0.02832, allocations: 136.5 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.0284, allocations: 19.98 kB / 336.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.02874, allocations: 202.7 kB / 336.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.02875, allocations: 4 kB / 336.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.02875, allocations: 3.984 kB / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02876, allocations: 4 kB / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.02911, allocations: 197.5 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.02916, allocations: 23.98 kB / 337 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.02922, allocations: 15.98 kB / 337 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.02922, allocations: 0 / 337 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.02924, allocations: 8 kB / 337 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02924, allocations: 0 / 337 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02925, allocations: 0 / 337 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.02954, allocations: 414.5 kB / 337.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.02957, allocations: 19.86 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.02961, allocations: 4 kB / 337.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.02977, allocations: 15.98 kB / 337.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.02983, allocations: 19.97 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.02985, allocations: 12 kB / 337.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002683/0.03253, allocations: 70.78 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03253, allocations: 0 / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.03304, allocations: 155.4 kB / 337.7 MB, free: 10.94 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.0002351/0.03328, allocations: 144.1 kB / 337.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.03366, allocations: 446 kB / 338.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.03367, allocations: 8.062 kB / 338.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.03386, allocations: 365.2 kB / 338.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.03426, allocations: 44.41 kB / 338.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.0356, allocations: 0.7496 MB / 339.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.03573, allocations: 128.4 kB / 339.6 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.03579, allocations: 29.81 kB / 339.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.03601, allocations: 139.3 kB / 339.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03601, allocations: 0 / 339.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of Templates: time 0.009188/0.0452, allocations: 5.919 MB / 345.7 MB, free: 2.859 MB / 314.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.1811454161070287]