Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001281/0.001281, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001483/0.001483, allocations: 209.6 kB / 25.13 MB, free: 3.605 MB / 14.72 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.434/1.434, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2217/0.2217, allocations: 46.93 MB / 362 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 84.14 kB / 0.4978 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3269, allocations: 66.08 MB / 0.5624 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004425/0.3313, allocations: 2.686 MB / 0.565 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.3339, allocations: 1.491 MB / 0.5665 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.334, allocations: 11.94 kB / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.3344, allocations: 110 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.3348, allocations: 142.8 kB / 0.5667 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.3354, allocations: 278.5 kB / 0.567 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.3358, allocations: 274.1 kB / 0.5672 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.3358, allocations: 12.94 kB / 0.5672 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.336, allocations: 107.3 kB / 0.5673 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3362, allocations: 119.2 kB / 0.5675 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3362, allocations: 4 kB / 0.5675 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009202/0.3371, allocations: 487.4 kB / 0.5679 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.3372, allocations: 39.66 kB / 0.568 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3373, allocations: 139 kB / 0.5681 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007339/0.3381, allocations: 0.5211 MB / 0.5686 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3381, allocations: 0 / 0.5686 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3381, allocations: 0 / 0.5686 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3381, allocations: 0 / 0.5686 GB, free: 13.8 MB / 414.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.0008663/0.339, allocations: 0.5635 MB / 0.5692 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.339, allocations: 16.03 kB / 0.5692 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.3391, allocations: 36.7 kB / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.3394, allocations: 202 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3394, allocations: 29.38 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.3394, allocations: 32.12 kB / 0.5695 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.3403, allocations: 0.588 MB / 0.57 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3403, allocations: 3.938 kB / 0.57 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.3404, allocations: 23.94 kB / 0.5701 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3404, allocations: 16 kB / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.3409, allocations: 345 kB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3439, allocations: 4.015 MB / 0.5743 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.3442, allocations: 90.64 kB / 0.5744 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3443, allocations: 32.84 kB / 0.5744 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3443, allocations: 4 kB / 0.5745 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3444, allocations: 34.56 kB / 0.5745 GB, free: 7.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.3444, allocations: 0 / 0.5745 GB, free: 7.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005407/0.3449, allocations: 173.3 kB / 0.5746 GB, free: 7.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.345, allocations: 51.41 kB / 0.5747 GB, free: 7.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.3454, allocations: 413.8 kB / 0.5751 GB, free: 6.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3454, allocations: 29.7 kB / 0.5751 GB, free: 6.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3456, allocations: 255.6 kB / 0.5754 GB, free: 6.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3457, allocations: 35.7 kB / 0.5754 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.3458, allocations: 65.98 kB / 0.5755 GB, free: 6.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3459, allocations: 350.7 kB / 0.5758 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.3461, allocations: 60.61 kB / 0.5759 GB, free: 5.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.3464, allocations: 270.3 kB / 0.5761 GB, free: 5.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.3469, allocations: 351.9 kB / 0.5764 GB, free: 5.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3469, allocations: 0 / 0.5764 GB, free: 5.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006271/0.3476, allocations: 357.1 kB / 0.5768 GB, free: 4.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3476, allocations: 10.34 kB / 0.5768 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3476, allocations: 8 kB / 0.5768 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3476, allocations: 8 kB / 0.5768 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.3481, allocations: 107.8 kB / 0.5769 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000838/0.349, allocations: 1.227 MB / 0.5781 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.3492, allocations: 63.52 kB / 0.5782 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3493, allocations: 16 kB / 0.5782 GB, free: 3.277 MB / 414.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.0001608/0.3494, allocations: 157.9 kB / 0.5783 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.3495, allocations: 43.69 kB / 0.5784 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.35, allocations: 172.8 kB / 0.5785 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.35, allocations: 0 / 0.5785 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.35, allocations: 0 / 0.5785 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.35, allocations: 4 kB / 0.5786 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3503, allocations: 244.6 kB / 0.5788 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3503, allocations: 3.938 kB / 0.5788 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.3506, allocations: 47.98 kB / 0.5788 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3506, allocations: 7.984 kB / 0.5788 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3506, allocations: 4 kB / 0.5788 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007685/0.3514, allocations: 1.207 MB / 0.58 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3514, allocations: 0 / 0.58 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.3518, allocations: 235.4 kB / 0.5802 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3518, allocations: 39.69 kB / 0.5803 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.3519, allocations: 11.88 kB / 0.5803 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.352, allocations: 8 kB / 0.5803 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.3521, allocations: 7.984 kB / 0.5803 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3521, allocations: 4 kB / 0.5803 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.3524, allocations: 275.1 kB / 0.5806 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 0.5806 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.3529, allocations: 123.8 kB / 0.5807 GB, free: 0.5898 MB / 414.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.0004104/0.3534, allocations: 179.6 kB / 0.5809 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.3539, allocations: 197.4 kB / 0.5811 GB, free: 216 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3539, allocations: 0 / 0.5811 GB, free: 216 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.3542, allocations: 88.22 kB / 0.5811 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3546, allocations: 34.83 kB / 0.5812 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.3556, allocations: 0.5017 MB / 0.5817 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.356, allocations: 0.7678 MB / 0.5824 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3561, allocations: 42.89 kB / 0.5825 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3561, allocations: 23.44 kB / 0.5825 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3561, allocations: 0 / 0.5825 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Templates: time 0.01281/0.3689, allocations: 6.566 MB / 0.5889 GB, free: 8.199 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.21549555612728]