Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009151/0.0009151, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9436/0.9436, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.456e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002769/0.002794, allocations: 2.059 MB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004058, allocations: 0.8139 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.004137, allocations: 0 / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.004418, allocations: 71.53 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.004733, allocations: 131.2 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.004972, allocations: 71.72 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.005288, allocations: 330.4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.005335, allocations: 12.59 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.005576, allocations: 167.3 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.005751, allocations: 131.6 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.005776, allocations: 8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.005959, allocations: 83.81 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.006061, allocations: 79.64 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.006152, allocations: 71.7 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.006564, allocations: 314.8 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006566, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006567, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.006573, allocations: 0 / 382.4 MB, free: 14.27 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000713/0.007286, allocations: 0.5974 MB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.007325, allocations: 8.031 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.007408, allocations: 48.75 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.007609, allocations: 187.7 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.007631, allocations: 25.02 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.007664, allocations: 28.31 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.008399, allocations: 222.7 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00841, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.008434, allocations: 11.98 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.008485, allocations: 32.62 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.008738, allocations: 143.9 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.009696, allocations: 0.7052 MB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.009908, allocations: 107 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.009975, allocations: 27.67 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.009999, allocations: 7.938 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.01002, allocations: 41.39 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.01002, allocations: 3.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003272/0.01035, allocations: 133.5 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.01038, allocations: 55.41 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01052, allocations: 234.5 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01054, allocations: 29.7 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.01063, allocations: 235.1 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.01068, allocations: 59.53 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.01075, allocations: 55.36 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01088, allocations: 0.5001 MB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.01094, allocations: 23.98 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.01104, allocations: 97.72 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01121, allocations: 133.7 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01121, allocations: 0 / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002544/0.01147, allocations: 160.3 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01148, allocations: 11.98 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01149, allocations: 0 / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.0115, allocations: 4 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.01189, allocations: 111.9 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.01365, allocations: 5.426 MB / 391.8 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.01374, allocations: 7.938 kB / 391.8 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.01376, allocations: 12 kB / 391.8 MB, free: 4.383 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.0001183/0.01388, allocations: 175.9 kB / 392 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.01392, allocations: 19.91 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.01425, allocations: 190.7 kB / 392.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01425, allocations: 4 kB / 392.2 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01425, allocations: 3.938 kB / 392.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01426, allocations: 0 / 392.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.01451, allocations: 244.5 kB / 392.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01452, allocations: 4 kB / 392.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.01485, allocations: 111.9 kB / 392.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01485, allocations: 0 / 392.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01487, allocations: 8 kB / 392.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.01657, allocations: 5.422 MB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01657, allocations: 4 kB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01682, allocations: 267.8 kB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01683, allocations: 15.83 kB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01686, allocations: 4 kB / 398.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.01694, allocations: 4 kB / 398.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01699, allocations: 15.97 kB / 398.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01701, allocations: 11.94 kB / 398.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.01708, allocations: 156.8 kB / 398.5 MB, free: 13.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01708, allocations: 0 / 398.5 MB, free: 13.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.01742, allocations: 95.73 kB / 398.6 MB, free: 13.41 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.0001827/0.0176, allocations: 127.1 kB / 398.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.01808, allocations: 190.2 kB / 398.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01808, allocations: 0 / 398.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.0184, allocations: 143.5 kB / 399 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01867, allocations: 19.98 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.01959, allocations: 0.492 MB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.829e-05/0.01968, allocations: 123.7 kB / 399.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.144e-05/0.01977, allocations: 37.08 kB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01981, allocations: 16.5 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01981, allocations: 0 / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of Templates: time 0.007027/0.02684, allocations: 4.366 MB / 404.1 MB, free: 7.949 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.2547179250977933]