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.00179/0.00179, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002519/0.002519, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2226/0.2226, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.002123/0.002123, allocations: 63.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3274, allocations: 66.04 MB / 0.5607 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003597/0.331, allocations: 2.214 MB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3326, allocations: 1.111 MB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.3327, allocations: 0 / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.333, allocations: 95.36 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3333, allocations: 91.27 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3336, allocations: 111.6 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3338, allocations: 186.8 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.3339, allocations: 16.59 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.334, allocations: 71.59 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3342, allocations: 87.42 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3342, allocations: 8 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.3347, allocations: 263.6 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.3347, allocations: 31.78 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.3348, allocations: 79.41 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3353, allocations: 338.4 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3353, allocations: 4 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3353, allocations: 0 / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3353, allocations: 0 / 0.5653 GB, free: 15.71 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.0006547/0.3359, allocations: 433.6 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.336, allocations: 8.031 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.336, allocations: 58.73 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.3361, allocations: 24.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3363, allocations: 167.7 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.3363, allocations: 12.81 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3364, allocations: 27.94 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.3368, allocations: 231.2 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3368, allocations: 3.984 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3368, allocations: 12 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3368, allocations: 4 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.3373, allocations: 253.6 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3383, allocations: 0.6005 MB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3386, allocations: 90.56 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3387, allocations: 44.92 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3387, allocations: 0 / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3387, allocations: 34.56 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.3387, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005035/0.3392, allocations: 169.4 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3393, allocations: 51.41 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.3396, allocations: 268.1 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3396, allocations: 33.7 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3397, allocations: 183.4 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3397, allocations: 31.73 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3398, allocations: 49.66 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.34, allocations: 338.8 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3401, allocations: 47.97 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.3404, allocations: 152.7 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.3407, allocations: 204.6 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3407, allocations: 0 / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004753/0.3412, allocations: 241.1 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3412, allocations: 8 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3412, allocations: 4 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3412, allocations: 4 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.3416, allocations: 87.89 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.3425, allocations: 1.22 MB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3427, allocations: 39.72 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3427, allocations: 12 kB / 0.5702 GB, free: 10.3 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.0001336/0.3428, allocations: 141.9 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3428, allocations: 23.8 kB / 0.5704 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.3433, allocations: 171.2 kB / 0.5705 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3433, allocations: 4 kB / 0.5705 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3433, allocations: 4 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3433, allocations: 0 / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.3439, allocations: 423 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3439, allocations: 4 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3442, allocations: 55.97 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3442, allocations: 4.062 kB / 0.571 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3442, allocations: 8 kB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007535/0.3449, allocations: 1.211 MB / 0.5722 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3449, allocations: 0 / 0.5722 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.3453, allocations: 249.1 kB / 0.5724 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3453, allocations: 23.84 kB / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3454, allocations: 0 / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3455, allocations: 11.98 kB / 0.5725 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3456, allocations: 8 kB / 0.5725 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3456, allocations: 7.984 kB / 0.5725 GB, free: 7.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3458, allocations: 187.1 kB / 0.5727 GB, free: 7.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3458, allocations: 3.938 kB / 0.5727 GB, free: 7.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.3461, allocations: 71.86 kB / 0.5727 GB, free: 7.578 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.0008411/0.347, allocations: 0.8234 MB / 0.5735 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.3475, allocations: 163.8 kB / 0.5737 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3475, allocations: 0.875 kB / 0.5737 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.3478, allocations: 92 kB / 0.5738 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3481, allocations: 32.58 kB / 0.5738 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.3514, allocations: 2.556 MB / 0.5763 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3518, allocations: 0.7284 MB / 0.577 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.3519, allocations: 25.89 kB / 0.5771 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.352, allocations: 63.41 kB / 0.5771 GB, free: 2.867 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.352, allocations: 4 kB / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.3874, allocations: 6.301 MB / 0.5833 GB, free: 12.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.76, allocations: 4.062 kB / 0.5833 GB, free: 12.73 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.743181923869997]