Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.001244/0.001244, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001004/0.001004, allocations: 165.6 kB / 24.99 MB, free: 8.316 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 1.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.929e-05, allocations: 2.312 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00229/0.00231, allocations: 2.055 MB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003412, allocations: 0.8177 MB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.00349, allocations: 0 / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.003902, allocations: 67.55 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.004158, allocations: 123.4 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004346, allocations: 67.67 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.004602, allocations: 330.4 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.004643, allocations: 8.594 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.004846, allocations: 163.5 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.005005, allocations: 139.5 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.005026, allocations: 8 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.005169, allocations: 83.83 kB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.005247, allocations: 79.61 kB / 380 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.005319, allocations: 67.73 kB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.005613, allocations: 314.7 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005615, allocations: 0 / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.005615, allocations: 0 / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00562, allocations: 0 / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0005268/0.006146, allocations: 0.5936 MB / 380.9 MB, free: 8 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.006189, allocations: 16.08 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.006262, allocations: 52.73 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.006422, allocations: 188.7 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.006437, allocations: 13.03 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.006464, allocations: 32.36 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.006745, allocations: 226.6 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006754, allocations: 4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.006772, allocations: 8 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.006815, allocations: 28.62 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.007031, allocations: 143.9 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.007863, allocations: 0.7052 MB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.008041, allocations: 104.8 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.008098, allocations: 31.67 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.00812, allocations: 11.94 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.008142, allocations: 37.38 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.008143, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002787/0.008421, allocations: 141.5 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.008456, allocations: 55.34 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.008617, allocations: 238.5 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.008638, allocations: 29.7 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.008757, allocations: 235.2 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.008801, allocations: 55.53 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.008863, allocations: 55.36 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.009002, allocations: 0.5001 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.009055, allocations: 19.98 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/0.009154, allocations: 108.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.009317, allocations: 128.7 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009319, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002168/0.009536, allocations: 165.3 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.009549, allocations: 8 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.009553, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.009566, allocations: 4 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.009884, allocations: 111.9 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.0119, allocations: 5.418 MB / 389.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.01197, allocations: 12 kB / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.01199, allocations: 12.36 kB / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.01211, allocations: 172.5 kB / 389.9 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.01215, allocations: 19.91 kB / 390 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.01242, allocations: 186.8 kB / 390.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01242, allocations: 0 / 390.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01243, allocations: 7.938 kB / 390.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01243, allocations: 0 / 390.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.01264, allocations: 240.4 kB / 390.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01264, allocations: 8 kB / 390.4 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.01288, allocations: 111.9 kB / 390.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01289, allocations: 0 / 390.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.0129, allocations: 8 kB / 390.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.0147, allocations: 5.418 MB / 395.9 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0147, allocations: 0 / 395.9 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.01493, allocations: 274 kB / 396.2 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01494, allocations: 19.83 kB / 396.2 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.01496, allocations: 4 kB / 396.2 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.01503, allocations: 4 kB / 396.2 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.01508, allocations: 19.91 kB / 396.2 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01509, allocations: 8 kB / 396.3 MB, free: 28 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.01517, allocations: 156.8 kB / 396.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01517, allocations: 4.125 kB / 396.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01543, allocations: 91.67 kB / 396.5 MB, free: 15.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.01562, allocations: 139.1 kB / 396.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.01603, allocations: 183.6 kB / 396.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01603, allocations: 0 / 396.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.01628, allocations: 142.1 kB / 397 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01649, allocations: 19.98 kB / 397 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.01734, allocations: 0.4944 MB / 397.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.01741, allocations: 115.8 kB / 397.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.01748, allocations: 37.09 kB / 397.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.01751, allocations: 16.48 kB / 397.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01751, allocations: 4 kB / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of Templates: time 0.005927/0.02344, allocations: 3.812 MB / 401.4 MB, free: 10.87 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.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.439615443116054]