Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00185/0.00185, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002219/0.002219, allocations: 161.7 kB / 24.26 MB, free: 176 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 1.479/1.479, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3443/0.3443, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.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_4.1.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.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 377.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/3.007e-05, allocations: 2.312 kB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.005408/0.005438, allocations: 2.527 MB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.008695, allocations: 1.351 MB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.008848, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.009431, allocations: 111.1 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.01003, allocations: 146.8 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.01085, allocations: 274.9 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.0113, allocations: 293.8 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.01136, allocations: 20.88 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.01159, allocations: 135.4 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.01181, allocations: 87.61 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.01184, allocations: 8 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.01299, allocations: 447.3 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01313, allocations: 47.64 kB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.0133, allocations: 79.66 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.01453, allocations: 0.5604 MB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01453, allocations: 4 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.01453, allocations: 0 / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.01454, allocations: 0 / 383.4 MB, free: 12.79 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001299/0.01584, allocations: 0.5597 MB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.01589, allocations: 8.031 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.01608, allocations: 72.66 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.01649, allocations: 197.1 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.01653, allocations: 21.38 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.01661, allocations: 36.38 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.01784, allocations: 0.5888 MB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.01788, allocations: 11.88 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.01793, allocations: 16 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.01795, allocations: 8 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.01882, allocations: 345.3 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.02328, allocations: 3.88 MB / 389.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.0237, allocations: 82.48 kB / 389.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.0239, allocations: 36.95 kB / 389.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.02395, allocations: 4 kB / 389.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.024, allocations: 38.5 kB / 389.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.113e-06/0.024, allocations: 0 / 389.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008464/0.02485, allocations: 161.4 kB / 389.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.02492, allocations: 59.34 kB / 389.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.02539, allocations: 284.3 kB / 389.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.02543, allocations: 25.7 kB / 389.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.02577, allocations: 275.6 kB / 390.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.02582, allocations: 31.78 kB / 390.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.02599, allocations: 73.97 kB / 390.2 MB, free: 5.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.02624, allocations: 334.8 kB / 390.5 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.0265, allocations: 56.62 kB / 390.6 MB, free: 5.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.02705, allocations: 266.4 kB / 390.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.02789, allocations: 352.2 kB / 391.2 MB, free: 4.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.0279, allocations: 0 / 391.2 MB, free: 4.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00107/0.02897, allocations: 369 kB / 391.5 MB, free: 4.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.029, allocations: 8 kB / 391.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.02902, allocations: 8 kB / 391.5 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.729e-05/0.02906, allocations: 8 kB / 391.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.02981, allocations: 104.5 kB / 391.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.03116, allocations: 1.227 MB / 392.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.0316, allocations: 47.67 kB / 392.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.03165, allocations: 23.94 kB / 392.9 MB, free: 2.535 MB / 362.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.0002633/0.03191, allocations: 161 kB / 393.1 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.032, allocations: 23.86 kB / 393.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.03268, allocations: 151.7 kB / 393.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.03269, allocations: 3.938 kB / 393.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03269, allocations: 0 / 393.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.03269, allocations: 0 / 393.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.03317, allocations: 213.2 kB / 393.5 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.03317, allocations: 4 kB / 393.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.03362, allocations: 63.91 kB / 393.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.03362, allocations: 0 / 393.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.03365, allocations: 4 kB / 393.6 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.03488, allocations: 1.203 MB / 394.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03488, allocations: 0 / 394.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.03547, allocations: 231.5 kB / 395 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.03553, allocations: 23.81 kB / 395 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.03557, allocations: 0 / 395 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.0358, allocations: 7.984 kB / 395 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.03587, allocations: 11.98 kB / 395 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.03589, allocations: 4 kB / 395 MB, free: 356 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.03616, allocations: 179.1 kB / 395.2 MB, free: 176 kB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03616, allocations: 0 / 395.2 MB, free: 176 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009758/0.03714, allocations: 131.7 kB / 395.3 MB, free: 44 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 (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.0006211/0.03776, allocations: 202.8 kB / 395.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.03866, allocations: 196.1 kB / 395.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03866, allocations: 0 / 395.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.03909, allocations: 77.45 kB / 395.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.03961, allocations: 27.03 kB / 395.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.04097, allocations: 0.4889 MB / 396.3 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.04121, allocations: 160.8 kB / 396.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.04136, allocations: 25.94 kB / 396.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.04144, allocations: 20.5 kB / 396.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04144, allocations: 0 / 396.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01795/0.05938, allocations: 5.481 MB / 402 MB, free: 9.395 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.286759180016816]