Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 212.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3363, allocations: 65.47 MB / 0.557 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003721/0.34, allocations: 2.107 MB / 0.5591 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3418, allocations: 0.9868 MB / 0.56 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3419, allocations: 4 kB / 0.56 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3422, allocations: 87.33 kB / 0.5601 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3425, allocations: 91.33 kB / 0.5602 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3428, allocations: 119.5 kB / 0.5603 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.343, allocations: 182.8 kB / 0.5605 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.3431, allocations: 12.53 kB / 0.5605 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3433, allocations: 75.59 kB / 0.5606 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3434, allocations: 79.48 kB / 0.5606 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3434, allocations: 8 kB / 0.5607 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3437, allocations: 131.8 kB / 0.5608 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.3438, allocations: 27.8 kB / 0.5608 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.3438, allocations: 71.47 kB / 0.5609 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.3443, allocations: 302.5 kB / 0.5612 GB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3443, allocations: 4 kB / 0.5612 GB, free: 3.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3443, allocations: 0 / 0.5612 GB, free: 3.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3443, allocations: 0 / 0.5612 GB, free: 3.109 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000618/0.3449, allocations: 429.6 kB / 0.5616 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.345, allocations: 12.03 kB / 0.5616 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.3451, allocations: 54.72 kB / 0.5616 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3451, allocations: 24.8 kB / 0.5617 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3453, allocations: 159.7 kB / 0.5618 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3454, allocations: 24.81 kB / 0.5618 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.3454, allocations: 27.88 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.3458, allocations: 231.2 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3458, allocations: 0 / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3459, allocations: 11.94 kB / 0.5621 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3459, allocations: 4 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3463, allocations: 253.6 kB / 0.5623 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3474, allocations: 0.5811 MB / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.3477, allocations: 90.5 kB / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3479, allocations: 48.97 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3479, allocations: 0 / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3479, allocations: 30.56 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.3479, allocations: 0 / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005431/0.3485, allocations: 173.4 kB / 0.5632 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3485, allocations: 55.41 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3488, allocations: 276.1 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3489, allocations: 29.64 kB / 0.5636 GB, free: 476 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.349, allocations: 175.4 kB / 0.5638 GB, free: 296 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.349, allocations: 39.73 kB / 0.5638 GB, free: 256 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3491, allocations: 45.66 kB / 0.5638 GB, free: 204 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3493, allocations: 342.8 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3495, allocations: 43.97 kB / 0.5642 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3497, allocations: 144.8 kB / 0.5643 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.3501, allocations: 204.6 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3501, allocations: 0 / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004972/0.3506, allocations: 249.2 kB / 0.5648 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3506, allocations: 4 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3506, allocations: 4 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3506, allocations: 4 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.351, allocations: 87.89 kB / 0.5649 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.3519, allocations: 1.219 MB / 0.5661 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3521, allocations: 43.78 kB / 0.5661 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3521, allocations: 12.38 kB / 0.5661 GB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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: 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.0001384/0.3522, allocations: 133.7 kB / 0.5662 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.3523, allocations: 23.86 kB / 0.5663 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.3527, allocations: 175.2 kB / 0.5664 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3527, allocations: 4 kB / 0.5664 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3528, allocations: 4 kB / 0.5664 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3528, allocations: 0 / 0.5664 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.3534, allocations: 411.1 kB / 0.5668 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3534, allocations: 0 / 0.5668 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3537, allocations: 60.03 kB / 0.5669 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3537, allocations: 4 kB / 0.5669 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3537, allocations: 4 kB / 0.5669 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.3545, allocations: 1.211 MB / 0.5681 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3545, allocations: 0 / 0.5681 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.355, allocations: 253 kB / 0.5683 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.355, allocations: 27.94 kB / 0.5683 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3551, allocations: 7.938 kB / 0.5684 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3552, allocations: 7.984 kB / 0.5684 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.3553, allocations: 11.98 kB / 0.5684 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3553, allocations: 4 kB / 0.5684 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3555, allocations: 191 kB / 0.5686 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3555, allocations: 0 / 0.5686 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3559, allocations: 63.94 kB / 0.5686 GB, free: 11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0009241/0.3568, allocations: 0.827 MB / 0.5694 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.3573, allocations: 164 kB / 0.5696 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3574, allocations: 3.938 kB / 0.5696 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3576, allocations: 83.89 kB / 0.5697 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3581, allocations: 26.31 kB / 0.5697 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.3615, allocations: 2.563 MB / 0.5722 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3616, allocations: 125.6 kB / 0.5723 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.381e-05/0.3617, allocations: 29.92 kB / 0.5723 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.3618, allocations: 59.42 kB / 0.5724 GB, free: 6.902 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3618, allocations: 0 / 0.5724 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.4015, allocations: 6.795 MB / 0.579 GB, free: 312 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.06, allocations: 13.75 kB / 0.579 GB, free: 304 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.18398727895692]