Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.001852/0.001852, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002128/0.002128, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 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.552/1.552, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3656/0.3656, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_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.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.459e-05, allocations: 2.312 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.005317/0.005352, allocations: 1.958 MB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.007564, allocations: 0.7711 MB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.00767, allocations: 7.938 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.008099, allocations: 63.59 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.008708, allocations: 123.3 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.009111, allocations: 87.62 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.009711, allocations: 322.4 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.009785, allocations: 12.58 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.01023, allocations: 167.4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.01055, allocations: 131.6 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.01059, allocations: 8 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.01088, allocations: 83.77 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01103, allocations: 79.67 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.01121, allocations: 67.73 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007098/0.01192, allocations: 338.7 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01192, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01192, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.01193, allocations: 0 / 381.4 MB, free: 14.65 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.00133/0.01326, allocations: 0.4898 MB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.0133, allocations: 12.03 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.01348, allocations: 56.73 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.0139, allocations: 181.9 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.01394, allocations: 21.03 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.01402, allocations: 28.36 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.01511, allocations: 393.8 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.01513, allocations: 0 / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.01518, allocations: 15.94 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/0.01526, allocations: 36.58 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.01652, allocations: 410.3 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.01856, allocations: 0.7021 MB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/0.01948, allocations: 260.6 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.01982, allocations: 92.77 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.01987, allocations: 7.938 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.01993, allocations: 34.56 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.01993, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001303/0.02123, allocations: 329.3 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.0213, allocations: 51.41 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.02162, allocations: 183.2 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.02166, allocations: 29.7 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.02187, allocations: 172.5 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.02197, allocations: 63.55 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.02212, allocations: 45.7 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.02237, allocations: 326.8 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.02269, allocations: 91.91 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.02311, allocations: 150.7 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.02386, allocations: 252.1 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02387, allocations: 0 / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009413/0.02481, allocations: 293.2 kB / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.02483, allocations: 4 kB / 386.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.02484, allocations: 4 kB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.02487, allocations: 0 / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.02578, allocations: 120.1 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.0296, allocations: 3.668 MB / 389.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.02985, allocations: 20.48 kB / 389.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.0299, allocations: 11.98 kB / 389.9 MB, free: 5.812 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.000371/0.03027, allocations: 177.7 kB / 390.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.03036, allocations: 19.84 kB / 390.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.03151, allocations: 314.7 kB / 390.4 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.03152, allocations: 4 kB / 390.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.03153, allocations: 3.938 kB / 390.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.03154, allocations: 11.97 kB / 390.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.03213, allocations: 225.2 kB / 390.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.03214, allocations: 4 kB / 390.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.03295, allocations: 107.9 kB / 390.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.03296, allocations: 0 / 390.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.03299, allocations: 11.98 kB / 390.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/0.03689, allocations: 3.664 MB / 394.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.03689, allocations: 3.984 kB / 394.4 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.0378, allocations: 350.1 kB / 394.8 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.03784, allocations: 19.78 kB / 394.8 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.03789, allocations: 4 kB / 394.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.03811, allocations: 8.266 kB / 394.8 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.03821, allocations: 27.97 kB / 394.8 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.03824, allocations: 4 kB / 394.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.03843, allocations: 127.9 kB / 395 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.03843, allocations: 0 / 395 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.03914, allocations: 79.78 kB / 395 MB, free: 488 kB / 362.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.0003746/0.03951, allocations: 123.2 kB / 395.2 MB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.04095, allocations: 303.6 kB / 395.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04096, allocations: 0 / 395.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.04199, allocations: 196.1 kB / 395.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.04251, allocations: 27.92 kB / 395.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.04403, allocations: 0.5536 MB / 396.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.04429, allocations: 196.6 kB / 396.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.04444, allocations: 49.06 kB / 396.5 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.0445, allocations: 20.44 kB / 396.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0445, allocations: 0 / 396.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of Templates: time 0.009559/0.05406, allocations: 3.825 MB / 400.3 MB, free: 11.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.187671564053744]