Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001458/0.001458, allocations: 80.91 kB / 20.51 MB, free: 1.273 MB / 14.72 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.001904/0.001904, allocations: 162.7 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 158.6 MB / 185.5 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2205/0.2205, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_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.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 68.42 kB / 407.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1208, allocations: 61.05 MB / 468.9 MB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004191/0.125, allocations: 2.488 MB / 471.3 MB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1276, allocations: 1.348 MB / 472.7 MB, free: 4.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1277, allocations: 0 / 472.7 MB, free: 4.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.1281, allocations: 119.2 kB / 472.8 MB, free: 4.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1285, allocations: 130.8 kB / 472.9 MB, free: 4.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.1291, allocations: 267.1 kB / 473.2 MB, free: 3.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.1295, allocations: 282 kB / 473.5 MB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.1295, allocations: 12.94 kB / 473.5 MB, free: 3.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1297, allocations: 99.41 kB / 473.6 MB, free: 3.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1299, allocations: 123.2 kB / 473.7 MB, free: 3.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1299, allocations: 4 kB / 473.7 MB, free: 3.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007561/0.1306, allocations: 431.4 kB / 474.1 MB, free: 2.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.1307, allocations: 43.66 kB / 474.2 MB, free: 2.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1308, allocations: 107.2 kB / 474.3 MB, free: 2.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.1315, allocations: 0.5016 MB / 474.8 MB, free: 2.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1315, allocations: 0 / 474.8 MB, free: 2.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1315, allocations: 0 / 474.8 MB, free: 2.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1316, allocations: 0 / 474.8 MB, free: 2.289 MB / 446.1 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.0009378/0.1325, allocations: 0.5636 MB / 475.3 MB, free: 1.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1325, allocations: 8.031 kB / 475.3 MB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.1326, allocations: 44.66 kB / 475.4 MB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1329, allocations: 193.7 kB / 475.6 MB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.133, allocations: 21.38 kB / 475.6 MB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.133, allocations: 44.12 kB / 475.6 MB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1338, allocations: 0.5844 MB / 476.2 MB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1339, allocations: 7.938 kB / 476.2 MB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1339, allocations: 19.98 kB / 476.3 MB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1339, allocations: 8 kB / 476.3 MB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.1345, allocations: 341.4 kB / 476.6 MB, free: 284 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2628/0.3973, allocations: 3.893 MB / 480.5 MB, free: 46.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3976, allocations: 84.33 kB / 480.6 MB, free: 46.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3977, allocations: 39.97 kB / 480.6 MB, free: 46.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3977, allocations: 3.938 kB / 480.6 MB, free: 46.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3977, allocations: 37.69 kB / 480.6 MB, free: 46.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.3977, allocations: 0 / 480.6 MB, free: 46.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005024/0.3983, allocations: 151.3 kB / 480.8 MB, free: 46.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3983, allocations: 56.19 kB / 480.9 MB, free: 46.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3985, allocations: 288.9 kB / 481.1 MB, free: 46.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3985, allocations: 27.95 kB / 481.2 MB, free: 46.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3986, allocations: 275.6 kB / 481.4 MB, free: 46.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.3986, allocations: 27.38 kB / 481.5 MB, free: 46.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.3987, allocations: 75.45 kB / 481.5 MB, free: 46.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.3988, allocations: 334.8 kB / 481.9 MB, free: 45.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3989, allocations: 60.14 kB / 481.9 MB, free: 45.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.3991, allocations: 265.5 kB / 482.2 MB, free: 45.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.3995, allocations: 362.7 kB / 482.5 MB, free: 45.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3995, allocations: 3.219 kB / 482.5 MB, free: 45.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004912/0.4, allocations: 339.3 kB / 482.9 MB, free: 45.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4, allocations: 6.469 kB / 482.9 MB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4, allocations: 12.78 kB / 482.9 MB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4, allocations: 13.09 kB / 482.9 MB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.4005, allocations: 112.4 kB / 483 MB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/0.4009, allocations: 1.214 MB / 484.2 MB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.4012, allocations: 48.39 kB / 484.3 MB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4012, allocations: 25.25 kB / 484.3 MB, free: 44.16 MB / 446.1 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_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * 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.0001175/0.4013, allocations: 149.8 kB / 484.4 MB, free: 44.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.4014, allocations: 25.38 kB / 484.5 MB, free: 44.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.4017, allocations: 165 kB / 484.6 MB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4017, allocations: 6.609 kB / 484.6 MB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4018, allocations: 0 / 484.6 MB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4018, allocations: 0 / 484.6 MB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.402, allocations: 210.3 kB / 484.8 MB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.402, allocations: 5.719 kB / 484.8 MB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.4022, allocations: 54.22 kB / 484.9 MB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.4022, allocations: 0 / 484.9 MB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4022, allocations: 6.531 kB / 484.9 MB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003921/0.4026, allocations: 1.206 MB / 486.1 MB, free: 42.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4026, allocations: 3.188 kB / 486.1 MB, free: 42.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4029, allocations: 225.2 kB / 486.3 MB, free: 42.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.403, allocations: 18.17 kB / 486.3 MB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.403, allocations: 3.312 kB / 486.3 MB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4031, allocations: 6.469 kB / 486.4 MB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.4032, allocations: 9.844 kB / 486.4 MB, free: 42.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4032, allocations: 7.188 kB / 486.4 MB, free: 42.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.4033, allocations: 185.2 kB / 486.6 MB, free: 42.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4033, allocations: 0 / 486.6 MB, free: 42.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.4039, allocations: 124.4 kB / 486.7 MB, free: 42.4 MB / 446.1 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.0003221/0.4042, allocations: 176.7 kB / 486.8 MB, free: 42.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.4047, allocations: 197.4 kB / 487 MB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4047, allocations: 0 / 487 MB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.405, allocations: 78.2 kB / 487.1 MB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4053, allocations: 19.36 kB / 487.1 MB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.406, allocations: 0.4946 MB / 487.6 MB, free: 42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.4061, allocations: 162.3 kB / 487.8 MB, free: 41.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.149e-05/0.4062, allocations: 33.28 kB / 487.8 MB, free: 41.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.4063, allocations: 18.38 kB / 487.8 MB, free: 41.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4063, allocations: 0 / 487.8 MB, free: 41.9 MB / 446.1 MB Notification: Performance of Templates: time 0.0101/0.4164, allocations: 5.293 MB / 493.1 MB, free: 41.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.5821904259501025]