Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001245/0.001245, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001435/0.001435, allocations: 211.6 kB / 23.73 MB, free: 4.516 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.373/1.373, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 46.96 MB / 360.9 MB, free: 4.066 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+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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.0034/0.3141, allocations: 2.097 MB / 0.5627 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3156, allocations: 0.9868 MB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.3157, allocations: 4 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.316, allocations: 87.34 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.3163, allocations: 87.33 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.3166, allocations: 123.5 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3168, allocations: 174.9 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.3168, allocations: 12.59 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.317, allocations: 87.45 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3171, allocations: 83.5 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3171, allocations: 8 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3174, allocations: 139.8 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.3175, allocations: 27.8 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.3176, allocations: 67.53 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.318, allocations: 298.5 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.318, allocations: 0 / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.318, allocations: 4 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.318, allocations: 4 kB / 0.5648 GB, free: 15.96 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006029/0.3186, allocations: 429.6 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3186, allocations: 12.03 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.3187, allocations: 58.72 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.3187, allocations: 28.73 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3189, allocations: 163.7 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3189, allocations: 16.81 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.319, allocations: 23.94 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.3194, allocations: 231.2 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3194, allocations: 7.984 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3194, allocations: 8 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3194, allocations: 8 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3199, allocations: 253.6 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.3209, allocations: 0.5694 MB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.3211, allocations: 94.56 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.3213, allocations: 48.86 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3213, allocations: 0 / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3213, allocations: 34.56 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.3213, allocations: 0 / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005072/0.3218, allocations: 165.4 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3219, allocations: 59.41 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3221, allocations: 272.1 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3222, allocations: 25.7 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3223, allocations: 187.3 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3223, allocations: 35.73 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.3224, allocations: 49.66 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3226, allocations: 342.7 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3227, allocations: 43.97 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3229, allocations: 140.8 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.3233, allocations: 212.6 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3233, allocations: 4 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004598/0.3238, allocations: 237.5 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3238, allocations: 4 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3238, allocations: 8 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3238, allocations: 4 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3242, allocations: 92.27 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007754/0.325, allocations: 1.223 MB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3252, allocations: 39.72 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3252, allocations: 12 kB / 0.5698 GB, free: 10.56 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.0001346/0.3253, allocations: 145.8 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3254, allocations: 23.86 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.3258, allocations: 163.2 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3258, allocations: 4 kB / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3258, allocations: 4 kB / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3258, allocations: 0 / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.3265, allocations: 411.1 kB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3265, allocations: 0 / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3268, allocations: 55.97 kB / 0.5705 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3268, allocations: 4 kB / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3268, allocations: 4 kB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007117/0.3275, allocations: 1.215 MB / 0.5717 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3275, allocations: 0 / 0.5717 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3279, allocations: 249 kB / 0.572 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.3279, allocations: 27.73 kB / 0.572 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3279, allocations: 4 kB / 0.572 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3281, allocations: 11.98 kB / 0.572 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3281, allocations: 8.172 kB / 0.572 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3282, allocations: 8 kB / 0.572 GB, free: 8.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3283, allocations: 187.1 kB / 0.5722 GB, free: 7.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3283, allocations: 0 / 0.5722 GB, free: 7.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.3287, allocations: 67.94 kB / 0.5723 GB, free: 7.855 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.0008313/0.3295, allocations: 0.8272 MB / 0.5731 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000519/0.33, allocations: 172.4 kB / 0.5732 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.33, allocations: 0 / 0.5732 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3303, allocations: 87.94 kB / 0.5733 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3307, allocations: 28.91 kB / 0.5733 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3338, allocations: 2.56 MB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.334, allocations: 125.6 kB / 0.576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.033e-05/0.334, allocations: 17.95 kB / 0.576 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.3341, allocations: 67.41 kB / 0.576 GB, free: 3.75 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3341, allocations: 7.938 kB / 0.576 GB, free: 3.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3664, allocations: 6.863 MB / 0.5827 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.42, allocations: 11.03 kB / 0.5828 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.264369150012499]