Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.0009588/0.0009588, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001003/0.001003, allocations: 170.5 kB / 24.91 MB, free: 9.18 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.263/0.263, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 323.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.206e-05, allocations: 3.078 kB / 323.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.0035/0.003522, allocations: 2.71 MB / 326 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.005757, allocations: 1.46 MB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.005953, allocations: 0 / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.006374, allocations: 111.2 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.006789, allocations: 146.7 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.007399, allocations: 246.9 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.007753, allocations: 301.8 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.007823, allocations: 14.91 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.008006, allocations: 127.5 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.008171, allocations: 91.59 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.008195, allocations: 8 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.00899, allocations: 483.2 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.009079, allocations: 55.59 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.009166, allocations: 71.67 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.009796, allocations: 0.5338 MB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0098, allocations: 0 / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.009802, allocations: 0 / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.009808, allocations: 0 / 329.7 MB, free: 3.215 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005887/0.0104, allocations: 0.5288 MB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01043, allocations: 15.92 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.01049, allocations: 56.89 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.01067, allocations: 177.2 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.01069, allocations: 25.38 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.01072, allocations: 40.38 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.01112, allocations: 0.5219 MB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01114, allocations: 11.88 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.01116, allocations: 20 kB / 331 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01117, allocations: 8 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.01132, allocations: 181.7 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.01323, allocations: 3.769 MB / 335 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/0.01332, allocations: 46.55 kB / 335 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.01335, allocations: 16.86 kB / 335.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.01337, allocations: 0 / 335.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01339, allocations: 34.56 kB / 335.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.01339, allocations: 0 / 335.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001633/0.01356, allocations: 73.52 kB / 335.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.01359, allocations: 59.41 kB / 335.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.01375, allocations: 282.7 kB / 335.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.01377, allocations: 25.7 kB / 335.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01388, allocations: 263.3 kB / 335.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.0139, allocations: 39.77 kB / 335.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.01397, allocations: 69.91 kB / 335.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.01406, allocations: 338.8 kB / 336.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.0141, allocations: 24.64 kB / 336.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.01422, allocations: 226.4 kB / 336.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.01442, allocations: 294.7 kB / 336.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01443, allocations: 8 kB / 336.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002273/0.01466, allocations: 233.2 kB / 337 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01467, allocations: 15.92 kB / 337 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.01468, allocations: 11.94 kB / 337 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.0147, allocations: 12 kB / 337 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.01496, allocations: 87.83 kB / 337.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005374/0.0155, allocations: 1.215 MB / 338.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01563, allocations: 43.72 kB / 338.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01565, allocations: 16 kB / 338.4 MB, free: 9.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_2.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.01576, allocations: 136.5 kB / 338.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.01578, allocations: 15.97 kB / 338.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.01595, allocations: 103.5 kB / 338.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01595, allocations: 0 / 338.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01595, allocations: 0 / 338.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01596, allocations: 3.938 kB / 338.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01611, allocations: 141.7 kB / 338.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01611, allocations: 0 / 338.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.01625, allocations: 31.97 kB / 338.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01625, allocations: 4 kB / 338.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01626, allocations: 0 / 338.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004387/0.0167, allocations: 1.205 MB / 340 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0167, allocations: 0 / 340 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.01681, allocations: 170.3 kB / 340.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01683, allocations: 23.84 kB / 340.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01685, allocations: 0 / 340.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.0169, allocations: 11.98 kB / 340.2 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.01694, allocations: 8.109 kB / 340.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01695, allocations: 4 kB / 340.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.017, allocations: 84.64 kB / 340.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.017, allocations: 0 / 340.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.01732, allocations: 131.7 kB / 340.4 MB, free: 7.609 MB / 314.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002781/0.0176, allocations: 172.1 kB / 340.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.01784, allocations: 146.3 kB / 340.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01785, allocations: 5.25 kB / 340.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.01794, allocations: 44.91 kB / 340.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01811, allocations: 28.58 kB / 340.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.01887, allocations: 495.1 kB / 341.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.01893, allocations: 96.23 kB / 341.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.01898, allocations: 17.95 kB / 341.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.01906, allocations: 71.36 kB / 341.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01906, allocations: 0 / 341.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Templates: time 0.009233/0.0283, allocations: 6.264 MB / 347.8 MB, free: 300 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_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.1919217300601304]