Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.00139/0.00139, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001027/0.001027, allocations: 156.5 kB / 24.55 MB, free: 16 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.087/1.087, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.3001/0.3001, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.888e-05, allocations: 7.094 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002543/0.002572, allocations: 2.147 MB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.004515, allocations: 1.674 MB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.004583, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.004844, allocations: 79.41 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004974, allocations: 71.31 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.005593, allocations: 362.5 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.005742, allocations: 154.9 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.005793, allocations: 16.58 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.005888, allocations: 71.69 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.005967, allocations: 47.83 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.005985, allocations: 8 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.006657, allocations: 0.5148 MB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.006722, allocations: 27.8 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.006781, allocations: 43.8 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.0074, allocations: 0.5685 MB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.007403, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007404, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.007411, allocations: 0 / 384.6 MB, free: 12.26 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005857/0.007997, allocations: 0.5427 MB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.008044, allocations: 12.03 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.008112, allocations: 40.8 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.008298, allocations: 152.8 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.008312, allocations: 12.88 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.008335, allocations: 28.31 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.008623, allocations: 231.1 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008635, allocations: 0 / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.008649, allocations: 4 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.008661, allocations: 8 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.008752, allocations: 76.28 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.009581, allocations: 1.04 MB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.009691, allocations: 43.05 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.009723, allocations: 15.69 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.009749, allocations: 0 / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.009772, allocations: 37.39 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.009772, allocations: 0 / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000198/0.00997, allocations: 81.64 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.01, allocations: 55.41 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.01018, allocations: 282.7 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.01019, allocations: 25.7 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01031, allocations: 242.5 kB / 387.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.01033, allocations: 23.8 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.01038, allocations: 59.34 kB / 387.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.01052, allocations: 0.504 MB / 388.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.01057, allocations: 20.22 kB / 388.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.0107, allocations: 241 kB / 388.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.0109, allocations: 276.5 kB / 388.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.01091, allocations: 4 kB / 388.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002387/0.01114, allocations: 217 kB / 388.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01116, allocations: 8 kB / 388.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.01118, allocations: 12 kB / 388.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.0112, allocations: 8.688 kB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01131, allocations: 43.92 kB / 388.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.01133, allocations: 23.91 kB / 388.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.01139, allocations: 27.78 kB / 388.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01141, allocations: 16 kB / 388.9 MB, free: 7.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/0.0115, allocations: 168.5 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.01152, allocations: 15.91 kB / 389.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.01169, allocations: 110.6 kB / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.0117, allocations: 0 / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.0117, allocations: 4 kB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.0117, allocations: 144 / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.01186, allocations: 180.5 kB / 389.4 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.01187, allocations: 15.97 kB / 389.4 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.01189, allocations: 12.12 kB / 389.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.0119, allocations: 0 / 389.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.01191, allocations: 8 kB / 389.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01191, allocations: 4 kB / 389.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01191, allocations: 0 / 389.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.01205, allocations: 215.8 kB / 389.7 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.01207, allocations: 15.91 kB / 389.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01208, allocations: 0 / 389.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.01212, allocations: 7.984 kB / 389.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.01216, allocations: 4 kB / 389.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.01216, allocations: 0 / 389.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.01225, allocations: 176.6 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01225, allocations: 0 / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000292/0.01254, allocations: 115.7 kB / 390 MB, free: 6.34 MB / 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003562/0.01289, allocations: 214.9 kB / 390.2 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01317, allocations: 156.8 kB / 390.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01317, allocations: 0 / 390.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.01324, allocations: 95.58 kB / 390.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01343, allocations: 15.94 kB / 390.4 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.01416, allocations: 365.3 kB / 390.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.01421, allocations: 75.97 kB / 390.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.488e-05/0.01426, allocations: 17.48 kB / 390.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.01429, allocations: 20.44 kB / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01429, allocations: 0 / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of Templates: time 0.008034/0.02232, allocations: 5.755 MB / 396.7 MB, free: 15.62 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.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.4455691361799836]