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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.2 MB / 250.8 MB, free: 8.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2234/0.2234, allocations: 46.89 MB / 351.8 MB, free: 7.309 MB / 286.1 MB 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.003117/0.003117, allocations: 84.14 kB / 496.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.313, allocations: 65.97 MB / 0.5493 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004809/0.3178, allocations: 2.122 MB / 0.5514 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.3213, allocations: 1.729 MB / 0.5531 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3214, allocations: 0 / 0.5531 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.3218, allocations: 90.94 kB / 0.5532 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.322, allocations: 63.44 kB / 0.5532 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3231, allocations: 358.2 kB / 0.5536 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3233, allocations: 155 kB / 0.5537 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.08e-05/0.3234, allocations: 8.312 kB / 0.5537 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3235, allocations: 51.72 kB / 0.5538 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3237, allocations: 67.53 kB / 0.5538 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3237, allocations: 4 kB / 0.5538 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3252, allocations: 0.7918 MB / 0.5546 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.3253, allocations: 23.84 kB / 0.5546 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3254, allocations: 75.48 kB / 0.5547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3265, allocations: 0.5966 MB / 0.5553 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3265, allocations: 0 / 0.5553 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3265, allocations: 3.938 kB / 0.5553 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3265, allocations: 0 / 0.5553 GB, free: 15.34 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009477/0.3275, allocations: 0.518 MB / 0.5558 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3275, allocations: 9.469 kB / 0.5558 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3276, allocations: 24.8 kB / 0.5558 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3278, allocations: 220.1 kB / 0.556 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3278, allocations: 20.38 kB / 0.556 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.3278, allocations: 20 kB / 0.5561 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.3284, allocations: 259.5 kB / 0.5563 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3285, allocations: 0 / 0.5563 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3285, allocations: 12 kB / 0.5563 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3285, allocations: 4 kB / 0.5563 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.329, allocations: 164.2 kB / 0.5565 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3304, allocations: 0.9042 MB / 0.5574 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3307, allocations: 66.55 kB / 0.5574 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3308, allocations: 28.83 kB / 0.5575 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3308, allocations: 4.062 kB / 0.5575 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3308, allocations: 30.56 kB / 0.5575 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3308, allocations: 0 / 0.5575 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005879/0.3314, allocations: 141.6 kB / 0.5576 GB, free: 12.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3315, allocations: 55.34 kB / 0.5577 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.3319, allocations: 266.9 kB / 0.5579 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3319, allocations: 29.7 kB / 0.558 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3321, allocations: 179.5 kB / 0.5581 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3321, allocations: 27.78 kB / 0.5582 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3322, allocations: 53.66 kB / 0.5582 GB, free: 12.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3324, allocations: 334.8 kB / 0.5585 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3326, allocations: 48.2 kB / 0.5586 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.333, allocations: 196 kB / 0.5588 GB, free: 11.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.3336, allocations: 251.4 kB / 0.559 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3336, allocations: 4 kB / 0.559 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006291/0.3342, allocations: 249.7 kB / 0.5592 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3342, allocations: 8 kB / 0.5593 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/0.3343, allocations: 24.02 kB / 0.5593 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.3343, allocations: 11.98 kB / 0.5593 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3345, allocations: 51.8 kB / 0.5593 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.3345, allocations: 7.984 kB / 0.5593 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3348, allocations: 39.73 kB / 0.5594 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.3348, allocations: 12 kB / 0.5594 GB, free: 10.73 MB / 414.1 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 0.0001856/0.335, allocations: 141.6 kB / 0.5595 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.3351, allocations: 23.86 kB / 0.5596 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.3357, allocations: 142.8 kB / 0.5597 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3357, allocations: 3.938 kB / 0.5597 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3357, allocations: 4 kB / 0.5597 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3357, allocations: 0 / 0.5597 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.3361, allocations: 221.5 kB / 0.5599 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/0.3361, allocations: 8.141 kB / 0.5599 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3362, allocations: 4 kB / 0.5599 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.3362, allocations: 7.969 kB / 0.5599 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3362, allocations: 4 kB / 0.5599 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3362, allocations: 7.938 kB / 0.5599 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3362, allocations: 3.938 kB / 0.5599 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.3367, allocations: 211.3 kB / 0.5601 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.3368, allocations: 96.95 kB / 0.5602 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3368, allocations: 4 kB / 0.5602 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.337, allocations: 7.938 kB / 0.5602 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3371, allocations: 3.984 kB / 0.5603 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3371, allocations: 4 kB / 0.5603 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.3373, allocations: 186 kB / 0.5604 GB, free: 9.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 4 kB / 0.5604 GB, free: 9.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000816/0.3382, allocations: 99.81 kB / 0.5605 GB, free: 9.457 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 (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.0005625/0.3387, allocations: 202.9 kB / 0.5607 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.3394, allocations: 200.4 kB / 0.5609 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3394, allocations: 0 / 0.5609 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.3397, allocations: 95.31 kB / 0.561 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3403, allocations: 23.38 kB / 0.561 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3413, allocations: 359.4 kB / 0.5614 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.3418, allocations: 0.7362 MB / 0.5621 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3419, allocations: 21.94 kB / 0.5621 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.3419, allocations: 19.44 kB / 0.5621 GB, free: 7.734 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3419, allocations: 0 / 0.5621 GB, free: 7.734 MB / 414.1 MB Notification: Performance of Templates: time 0.0179/0.3598, allocations: 6.435 MB / 0.5684 GB, free: 1.34 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches