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.001372/0.001372, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 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.001448/0.001448, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 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.2244/0.2244, allocations: 46.92 MB / 360.8 MB, free: 4.156 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 79.88 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.322, allocations: 66.08 MB / 0.5608 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004219/0.3262, allocations: 2.703 MB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3289, allocations: 1.495 MB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.329, allocations: 3.938 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.3294, allocations: 119.2 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.3297, allocations: 146.8 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.3303, allocations: 263.1 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.3306, allocations: 278 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.3307, allocations: 16.92 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3308, allocations: 99.34 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.331, allocations: 127.2 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.331, allocations: 8 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3321, allocations: 0.6046 MB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.3321, allocations: 47.64 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3323, allocations: 135 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.333, allocations: 0.5679 MB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.333, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.333, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.333, allocations: 0 / 0.5672 GB, free: 13.61 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.0008429/0.3339, allocations: 0.5636 MB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3339, allocations: 8.031 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.334, allocations: 74.7 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.3341, allocations: 44.7 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3343, allocations: 206 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.3344, allocations: 25.38 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3344, allocations: 39.94 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.3352, allocations: 0.5763 MB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3352, allocations: 7.938 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3352, allocations: 20 kB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3352, allocations: 8 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.3358, allocations: 345 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.3387, allocations: 4.027 MB / 0.573 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.339, allocations: 82.53 kB / 0.5731 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3391, allocations: 36.95 kB / 0.5731 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3391, allocations: 0 / 0.5731 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3392, allocations: 38.56 kB / 0.5732 GB, free: 7.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3392, allocations: 0 / 0.5732 GB, free: 7.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005127/0.3397, allocations: 165.3 kB / 0.5733 GB, free: 6.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3397, allocations: 55.34 kB / 0.5734 GB, free: 6.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.3401, allocations: 413.8 kB / 0.5738 GB, free: 6.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3402, allocations: 25.7 kB / 0.5738 GB, free: 6.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3404, allocations: 259.5 kB / 0.574 GB, free: 6.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3404, allocations: 35.78 kB / 0.5741 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.3405, allocations: 69.97 kB / 0.5741 GB, free: 6.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3407, allocations: 350.7 kB / 0.5745 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3408, allocations: 56.61 kB / 0.5745 GB, free: 5.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3411, allocations: 262.3 kB / 0.5748 GB, free: 5.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.3416, allocations: 355.9 kB / 0.5751 GB, free: 4.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3416, allocations: 0 / 0.5751 GB, free: 4.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000615/0.3423, allocations: 365.6 kB / 0.5755 GB, free: 4.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3423, allocations: 10.19 kB / 0.5755 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3423, allocations: 8 kB / 0.5755 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3423, allocations: 8 kB / 0.5755 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.3428, allocations: 115.8 kB / 0.5756 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008611/0.3437, allocations: 1.219 MB / 0.5768 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.3439, allocations: 67.5 kB / 0.5768 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.344, allocations: 20 kB / 0.5769 GB, free: 2.996 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.0001542/0.3441, allocations: 143 kB / 0.577 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.3442, allocations: 43.69 kB / 0.577 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.3446, allocations: 177 kB / 0.5772 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3446, allocations: 0 / 0.5772 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3446, allocations: 0 / 0.5772 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3446, allocations: 4 kB / 0.5772 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.345, allocations: 256.5 kB / 0.5775 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.345, allocations: 0 / 0.5775 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.3452, allocations: 51.97 kB / 0.5775 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3452, allocations: 0 / 0.5775 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3453, allocations: 11.94 kB / 0.5775 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008144/0.3461, allocations: 1.207 MB / 0.5787 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3461, allocations: 0 / 0.5787 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3464, allocations: 231.2 kB / 0.5789 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.3465, allocations: 43.69 kB / 0.579 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3465, allocations: 8.031 kB / 0.579 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3467, allocations: 7.984 kB / 0.579 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3468, allocations: 11.92 kB / 0.579 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3468, allocations: 4 kB / 0.579 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.3471, allocations: 275.1 kB / 0.5793 GB, free: 440 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3471, allocations: 0 / 0.5793 GB, free: 440 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.3476, allocations: 115.8 kB / 0.5794 GB, free: 324 kB / 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.0009828/0.3486, allocations: 0.8525 MB / 0.5802 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005726/0.3492, allocations: 201.5 kB / 0.5804 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3492, allocations: 4.062 kB / 0.5804 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3495, allocations: 75.95 kB / 0.5805 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3499, allocations: 33.97 kB / 0.5805 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.3542, allocations: 3.413 MB / 0.5838 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.3547, allocations: 0.7717 MB / 0.5846 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3548, allocations: 38.91 kB / 0.5846 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.355, allocations: 107.4 kB / 0.5847 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.355, allocations: 0 / 0.5847 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.3952, allocations: 10.31 MB / 0.5948 GB, free: 356 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.56, allocations: 11.92 kB / 0.5948 GB, free: 344 kB / 430.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_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: 16.473102698102593]