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.002433/0.002433, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002535/0.002535, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.758/1.758, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.2555/0.2555, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.292e-05/5.574e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003944/0.003999, allocations: 2.66 MB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.006278, allocations: 1.422 MB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.006415, allocations: 0 / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.006794, allocations: 103.2 kB / 351.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.007175, allocations: 150.7 kB / 351.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.0077, allocations: 262.9 kB / 351.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.007971, allocations: 289.8 kB / 351.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.008035, allocations: 16.92 kB / 351.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.008205, allocations: 135.5 kB / 352 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.008387, allocations: 95.59 kB / 352.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.008421, allocations: 8 kB / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006838/0.009105, allocations: 431.3 kB / 352.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.0092, allocations: 43.66 kB / 352.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.009306, allocations: 83.64 kB / 352.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006713/0.009977, allocations: 0.5293 MB / 353.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.009983, allocations: 0 / 353.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009984, allocations: 0 / 353.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.009993, allocations: 7.938 kB / 353.2 MB, free: 3.504 MB / 282.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.0008423/0.01084, allocations: 0.6632 MB / 353.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01089, allocations: 8.031 kB / 353.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01101, allocations: 72.66 kB / 353.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.01129, allocations: 200 kB / 354.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01132, allocations: 25.38 kB / 354.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.01136, allocations: 32.38 kB / 354.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.012, allocations: 0.6358 MB / 354.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.01202, allocations: 11.88 kB / 354.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.01205, allocations: 20 kB / 354.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.01207, allocations: 16 kB / 354.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.0124, allocations: 225.4 kB / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.01693, allocations: 5.783 MB / 360.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.01723, allocations: 87.03 kB / 361 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01733, allocations: 31.8 kB / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.01737, allocations: 0 / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.01742, allocations: 45.33 kB / 361 MB, free: 11.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.01742, allocations: 0 / 361 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005225/0.01794, allocations: 133.4 kB / 361.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.018, allocations: 55.41 kB / 361.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.0184, allocations: 370 kB / 361.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.01844, allocations: 29.7 kB / 361.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.01872, allocations: 318.4 kB / 361.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01876, allocations: 31.78 kB / 362 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.01889, allocations: 79.59 kB / 362 MB, free: 10.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003195/0.01921, allocations: 0.5118 MB / 362.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.01935, allocations: 48.62 kB / 362.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.0198, allocations: 355.7 kB / 362.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.02045, allocations: 425.2 kB / 363.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02046, allocations: 8 kB / 363.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006757/0.02113, allocations: 345 kB / 363.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.02116, allocations: 8 kB / 363.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.02118, allocations: 8 kB / 363.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.02121, allocations: 8 kB / 363.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.02179, allocations: 111.8 kB / 363.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.02335, allocations: 1.834 MB / 365.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.02364, allocations: 51.66 kB / 365.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.02367, allocations: 20.39 kB / 365.7 MB, free: 6.047 MB / 298.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_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.0002393/0.02391, allocations: 196.4 kB / 365.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.02398, allocations: 23.84 kB / 366 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.02444, allocations: 155.5 kB / 366.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.02445, allocations: 3.938 kB / 366.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.02445, allocations: 0 / 366.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02446, allocations: 0 / 366.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.02485, allocations: 240.5 kB / 366.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02485, allocations: 0 / 366.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.02514, allocations: 55.97 kB / 366.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.02515, allocations: 8 kB / 366.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.02516, allocations: 0 / 366.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.0266, allocations: 1.826 MB / 368.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.0266, allocations: 0 / 368.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.027, allocations: 255.7 kB / 368.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.02706, allocations: 23.81 kB / 368.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.02709, allocations: 4 kB / 368.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.02723, allocations: 16.05 kB / 368.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.02731, allocations: 8 kB / 368.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.02732, allocations: 3.984 kB / 368.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.02757, allocations: 227 kB / 368.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02757, allocations: 0 / 368.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007082/0.02827, allocations: 127.7 kB / 368.9 MB, free: 2.766 MB / 298.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.0005435/0.02882, allocations: 183 kB / 369.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.02951, allocations: 205.1 kB / 369.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.02951, allocations: 3.938 kB / 369.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.0298, allocations: 79.64 kB / 369.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.03014, allocations: 18.28 kB / 369.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.03134, allocations: 497.1 kB / 369.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.03156, allocations: 168.8 kB / 370 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.313e-05/0.03165, allocations: 17.95 kB / 370 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.03172, allocations: 24.48 kB / 370.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.03172, allocations: 0 / 370.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of Templates: time 0.01508/0.0468, allocations: 5.344 MB / 375.4 MB, free: 12.25 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/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/jenkins/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: 6.328173649031669]