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_roundTube_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.001504/0.001504, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001985/0.001985, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2118/0.2118, allocations: 44.91 MB / 358.8 MB, free: 6.266 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_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.002022/0.002022, allocations: 63.89 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 65.48 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004045/0.3136, allocations: 2.709 MB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.316, allocations: 1.499 MB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3161, allocations: 0 / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3164, allocations: 115.2 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.3168, allocations: 142.9 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.3173, allocations: 267.1 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.3177, allocations: 270.2 kB / 0.5619 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.3177, allocations: 16.94 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3179, allocations: 107.3 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.318, allocations: 123.2 kB / 0.5622 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3181, allocations: 8 kB / 0.5622 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3191, allocations: 0.6085 MB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.3191, allocations: 43.66 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3193, allocations: 135 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.32, allocations: 0.564 MB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.32, allocations: 0 / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.32, allocations: 0 / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.32, allocations: 0 / 0.5635 GB, free: 1.125 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008067/0.3209, allocations: 0.5696 MB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3209, allocations: 8.031 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.321, allocations: 74.66 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.321, allocations: 44.7 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3213, allocations: 194.1 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.3213, allocations: 29.38 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.3214, allocations: 39.94 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.3221, allocations: 0.5802 MB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3221, allocations: 7.938 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3222, allocations: 16 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3222, allocations: 12 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.3227, allocations: 345 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.3255, allocations: 4.019 MB / 0.5693 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3258, allocations: 94.47 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3259, allocations: 36.95 kB / 0.5694 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.326, allocations: 7.922 kB / 0.5694 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.326, allocations: 38.56 kB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.326, allocations: 3.938 kB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.3265, allocations: 173.3 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3265, allocations: 51.41 kB / 0.5697 GB, free: 10.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.327, allocations: 413.8 kB / 0.5701 GB, free: 9.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.327, allocations: 25.7 kB / 0.5701 GB, free: 9.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3272, allocations: 259.6 kB / 0.5703 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3272, allocations: 35.77 kB / 0.5704 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.3273, allocations: 65.98 kB / 0.5704 GB, free: 9.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3274, allocations: 350.7 kB / 0.5708 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3276, allocations: 56.61 kB / 0.5708 GB, free: 9.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3279, allocations: 266.3 kB / 0.5711 GB, free: 8.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.3284, allocations: 351.9 kB / 0.5714 GB, free: 8.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3284, allocations: 4 kB / 0.5714 GB, free: 8.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006092/0.329, allocations: 357.2 kB / 0.5718 GB, free: 7.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.329, allocations: 8 kB / 0.5718 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.329, allocations: 8 kB / 0.5718 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3291, allocations: 8 kB / 0.5718 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.3295, allocations: 111.8 kB / 0.5719 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.3304, allocations: 1.215 MB / 0.5731 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3307, allocations: 67.5 kB / 0.5731 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3307, allocations: 20 kB / 0.5732 GB, free: 6.508 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.00016/0.3309, allocations: 152.3 kB / 0.5733 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.3309, allocations: 43.89 kB / 0.5733 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3314, allocations: 172.9 kB / 0.5735 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3314, allocations: 4 kB / 0.5735 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3314, allocations: 0 / 0.5735 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3314, allocations: 0 / 0.5735 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.3317, allocations: 256.5 kB / 0.5738 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3317, allocations: 0 / 0.5738 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.332, allocations: 47.98 kB / 0.5738 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.332, allocations: 0 / 0.5738 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.332, allocations: 7.984 kB / 0.5738 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007864/0.3328, allocations: 1.207 MB / 0.575 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3328, allocations: 0 / 0.575 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.3332, allocations: 231.2 kB / 0.5752 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.3332, allocations: 39.89 kB / 0.5752 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.3333, allocations: 11.92 kB / 0.5753 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3334, allocations: 4 kB / 0.5753 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3335, allocations: 7.984 kB / 0.5753 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3335, allocations: 8 kB / 0.5753 GB, free: 4.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.3338, allocations: 275.1 kB / 0.5755 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3338, allocations: 4 kB / 0.5755 GB, free: 3.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.3343, allocations: 115.8 kB / 0.5757 GB, free: 3.836 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.0009648/0.3353, allocations: 0.8686 MB / 0.5765 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.3359, allocations: 197.6 kB / 0.5767 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3359, allocations: 0 / 0.5767 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.3361, allocations: 79.89 kB / 0.5768 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3366, allocations: 33.95 kB / 0.5768 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.3409, allocations: 3.409 MB / 0.5801 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3413, allocations: 0.7678 MB / 0.5809 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.3415, allocations: 46.88 kB / 0.5809 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3416, allocations: 103.4 kB / 0.581 GB, free: 14.01 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3416, allocations: 0 / 0.581 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.3807, allocations: 10.31 MB / 0.5911 GB, free: 3.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.58, allocations: 0 / 0.5911 GB, free: 3.883 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.60433649388142]