Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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.002477/0.002477, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002886/0.002886, allocations: 164.8 kB / 24.27 MB, free: 156 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.606/1.606, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3446/0.3446, allocations: 34.25 MB / 295.2 MB, free: 0.668 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.266e-05, allocations: 6.25 kB / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004758/0.004791, allocations: 2.674 MB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.008187, allocations: 1.429 MB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.008434, allocations: 3.938 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.008902, allocations: 107.2 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.009415, allocations: 146.8 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.01022, allocations: 270.9 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.01063, allocations: 293.8 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.01072, allocations: 20.88 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.01095, allocations: 139.4 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.01116, allocations: 91.61 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.01119, allocations: 8 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.01218, allocations: 451.3 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.01227, allocations: 43.64 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.01239, allocations: 79.66 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.01333, allocations: 0.5604 MB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.01334, allocations: 7.922 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01334, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.01335, allocations: 4 kB / 383.6 MB, free: 12.55 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.001003/0.01435, allocations: 0.6554 MB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.0144, allocations: 16.02 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.01453, allocations: 72.66 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.01485, allocations: 188 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.01489, allocations: 29.38 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.01494, allocations: 36.38 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.01585, allocations: 0.6358 MB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.01587, allocations: 11.81 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.01591, allocations: 20 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.01593, allocations: 16 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.01637, allocations: 221.4 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.02167, allocations: 5.771 MB / 391.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.02199, allocations: 83.02 kB / 391.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.0221, allocations: 31.8 kB / 391.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.02215, allocations: 12 kB / 391.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.02219, allocations: 41.31 kB / 391.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.0222, allocations: 0 / 391.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006155/0.02281, allocations: 137.4 kB / 391.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.02288, allocations: 51.41 kB / 391.6 MB, free: 4.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.02329, allocations: 374 kB / 391.9 MB, free: 3.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.02331, allocations: 25.7 kB / 391.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.02358, allocations: 322.4 kB / 392.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.02362, allocations: 27.78 kB / 392.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.02376, allocations: 95.58 kB / 392.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.02405, allocations: 0.5079 MB / 392.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.02419, allocations: 52.62 kB / 392.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.02462, allocations: 347.7 kB / 393.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.02523, allocations: 433.2 kB / 393.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.02524, allocations: 4 kB / 393.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006601/0.0259, allocations: 337 kB / 394 MB, free: 1.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.02592, allocations: 12 kB / 394.1 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.02594, allocations: 4.391 kB / 394.1 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.02596, allocations: 12 kB / 394.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.02652, allocations: 108.5 kB / 394.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.02818, allocations: 1.837 MB / 396 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.02847, allocations: 47.66 kB / 396.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.02851, allocations: 20 kB / 396.1 MB, free: 15.11 MB / 378.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.0002424/0.02875, allocations: 196.3 kB / 396.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.02881, allocations: 27.86 kB / 396.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.02926, allocations: 159.5 kB / 396.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.02927, allocations: 3.938 kB / 396.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.02927, allocations: 0 / 396.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02928, allocations: 0 / 396.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.02965, allocations: 236.5 kB / 396.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02965, allocations: 0 / 396.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.02994, allocations: 55.97 kB / 396.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02995, allocations: 0 / 396.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.02996, allocations: 8 kB / 396.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.03129, allocations: 1.822 MB / 398.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.03129, allocations: 0 / 398.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.03168, allocations: 259.7 kB / 398.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.03173, allocations: 31.75 kB / 398.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.03176, allocations: 4.125 kB / 398.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.0319, allocations: 7.984 kB / 398.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.03196, allocations: 3.984 kB / 398.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.03197, allocations: 8 kB / 398.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.03221, allocations: 227 kB / 399.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03221, allocations: 0 / 399.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000648/0.03286, allocations: 131.6 kB / 399.2 MB, free: 11.82 MB / 378.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.0004737/0.03333, allocations: 187 kB / 399.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.03394, allocations: 208.9 kB / 399.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03394, allocations: 0 / 399.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.03424, allocations: 79.59 kB / 399.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.03457, allocations: 24.64 kB / 399.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.03563, allocations: 497 kB / 400.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.03583, allocations: 164.8 kB / 400.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.03593, allocations: 21.94 kB / 400.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.03598, allocations: 16.5 kB / 400.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03598, allocations: 4 kB / 400.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of Templates: time 0.01349/0.04947, allocations: 5.517 MB / 405.9 MB, free: 5.133 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.399608772015199]