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.001541/0.001541, allocations: 88.73 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.002017/0.002017, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.078/1.078, allocations: 177 MB / 205.2 MB, free: 5.074 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.2738/0.2738, allocations: 34.86 MB / 296.6 MB, free: 380 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.512e-06/1.512e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.23e-05, allocations: 5.406 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002693/0.002716, allocations: 2.291 MB / 328.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004156, allocations: 1.166 MB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004259, allocations: 3.938 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.00451, allocations: 67.59 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.004748, allocations: 119.2 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.005188, allocations: 191.3 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000413/0.005601, allocations: 0.513 MB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.005669, allocations: 41.17 kB / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.005949, allocations: 227.2 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.006117, allocations: 167.4 kB / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.006146, allocations: 20 kB / 330.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.006394, allocations: 151.7 kB / 330.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.006483, allocations: 107.5 kB / 331 MB, free: 1.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.00658, allocations: 119.5 kB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.007008, allocations: 0.502 MB / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.007011, allocations: 0 / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007012, allocations: 0 / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.007019, allocations: 0 / 331.7 MB, free: 1.352 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.0006422/0.007661, allocations: 0.6296 MB / 332.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.007692, allocations: 12.03 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.00793, allocations: 100.8 kB / 332.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.008146, allocations: 201.1 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.008169, allocations: 33.38 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.008211, allocations: 52.34 kB / 332.7 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.008639, allocations: 411.8 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.008652, allocations: 3.938 kB / 333.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.008677, allocations: 27.98 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.008711, allocations: 24.98 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.008893, allocations: 164.4 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.009873, allocations: 1.015 MB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.01006, allocations: 170 kB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.01012, allocations: 30.58 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.01015, allocations: 15.92 kB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.01017, allocations: 38.56 kB / 334.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.941e-05/0.01019, allocations: 4 kB / 334.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002819/0.01047, allocations: 124.6 kB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.01052, allocations: 106.8 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01065, allocations: 233 kB / 335 MB, free: 13.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.01067, allocations: 25.7 kB / 335.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.01077, allocations: 248.1 kB / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.01081, allocations: 67.36 kB / 335.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.01088, allocations: 69.89 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.01096, allocations: 338.7 kB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.01103, allocations: 39.34 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01114, allocations: 153.5 kB / 335.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.01135, allocations: 218.3 kB / 336.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01135, allocations: 3.938 kB / 336.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002446/0.0116, allocations: 203.2 kB / 336.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01161, allocations: 8 kB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/0.01166, allocations: 27.98 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01167, allocations: 4 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01178, allocations: 39.91 kB / 336.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01178, allocations: 8.531 kB / 336.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.701e-05/0.01188, allocations: 39.77 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.0119, allocations: 16 kB / 336.5 MB, free: 12.17 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.000115/0.01202, allocations: 148.5 kB / 336.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.01207, allocations: 11.98 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.01238, allocations: 207.6 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01238, allocations: 4 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01238, allocations: 0 / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01239, allocations: 3.984 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.01266, allocations: 185.5 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-05/0.0127, allocations: 27.98 kB / 337.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.01276, allocations: 27.91 kB / 337.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01276, allocations: 4 kB / 337.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01278, allocations: 11.94 kB / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01278, allocations: 4 kB / 337.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01278, allocations: 0 / 337.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.01304, allocations: 401.2 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.01306, allocations: 19.86 kB / 337.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01309, allocations: 3.984 kB / 337.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.0132, allocations: 12 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.01326, allocations: 27.91 kB / 337.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01327, allocations: 7.984 kB / 337.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.01332, allocations: 62.8 kB / 337.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01332, allocations: 0 / 337.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004081/0.01373, allocations: 167.4 kB / 337.8 MB, free: 10.8 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.0002161/0.01394, allocations: 136.2 kB / 337.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.01427, allocations: 444.4 kB / 338.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.01427, allocations: 3.938 kB / 338.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.01446, allocations: 373.4 kB / 338.7 MB, free: 9.711 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01477, allocations: 40.41 kB / 338.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.01596, allocations: 0.7543 MB / 339.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.222e-05/0.01606, allocations: 136.4 kB / 339.7 MB, free: 8.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.01612, allocations: 17.89 kB / 339.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.01632, allocations: 143.3 kB / 339.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01632, allocations: 0 / 339.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of Templates: time 0.008161/0.02448, allocations: 5.926 MB / 345.8 MB, free: 2.727 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 -s gbode -gbm=radauIIA3 -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.202744001056999]