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.001203/0.001203, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001357/0.001357, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2218/0.2218, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.001922/0.001922, allocations: 63.91 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003871/0.1375, allocations: 2.209 MB / 0.5576 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1394, allocations: 1.102 MB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.1395, allocations: 0 / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1398, allocations: 87.38 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.1401, allocations: 99.27 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.1404, allocations: 119.5 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1407, allocations: 174.9 kB / 0.5591 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1407, allocations: 12.41 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1409, allocations: 79.52 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1411, allocations: 83.5 kB / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1411, allocations: 8 kB / 0.5593 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.1416, allocations: 275.6 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.1416, allocations: 31.78 kB / 0.5596 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.1417, allocations: 79.36 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.1422, allocations: 334.5 kB / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1422, allocations: 0 / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1422, allocations: 0 / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1422, allocations: 0 / 0.56 GB, free: 1.141 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.0007408/0.1429, allocations: 0.5026 MB / 0.5605 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.143, allocations: 8.031 kB / 0.5605 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.1431, allocations: 58.73 kB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.1431, allocations: 24.8 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1434, allocations: 215.9 kB / 0.5607 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1434, allocations: 24.81 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1434, allocations: 19.94 kB / 0.5608 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1439, allocations: 227.3 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1439, allocations: 0 / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.1439, allocations: 11.94 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1439, allocations: 8 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.1444, allocations: 249.6 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1455, allocations: 0.6275 MB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1457, allocations: 98.66 kB / 0.562 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1459, allocations: 36.84 kB / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1459, allocations: 7.984 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1459, allocations: 30.56 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1459, allocations: 0 / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005615/0.1465, allocations: 165.4 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1465, allocations: 59.41 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1468, allocations: 267 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1468, allocations: 25.7 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.147, allocations: 175.4 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.147, allocations: 31.73 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.1471, allocations: 53.66 kB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1473, allocations: 334.8 kB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1474, allocations: 51.91 kB / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1477, allocations: 149.3 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1481, allocations: 204.7 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1481, allocations: 8 kB / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005241/0.1486, allocations: 233.1 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1486, allocations: 10.3 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1486, allocations: 8 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1486, allocations: 4 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.1491, allocations: 83.91 kB / 0.5638 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008981/0.15, allocations: 1.219 MB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1502, allocations: 43.77 kB / 0.5651 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1502, allocations: 16 kB / 0.5651 GB, free: 11.54 MB / 430.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.0001415/0.1503, allocations: 129.7 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1504, allocations: 35.73 kB / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.1508, allocations: 163.2 kB / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1508, allocations: 4 kB / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1508, allocations: 0 / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1509, allocations: 0 / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.1516, allocations: 456 kB / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1516, allocations: 0 / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.1518, allocations: 59.97 kB / 0.5659 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1518, allocations: 0 / 0.5659 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1518, allocations: 4 kB / 0.5659 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.1527, allocations: 1.215 MB / 0.5671 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1527, allocations: 4 kB / 0.5671 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1531, allocations: 253.1 kB / 0.5673 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.1532, allocations: 96.97 kB / 0.5674 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.1532, allocations: 7.938 kB / 0.5674 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1534, allocations: 7.984 kB / 0.5674 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.1534, allocations: 15.97 kB / 0.5674 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1534, allocations: 4 kB / 0.5674 GB, free: 8.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1536, allocations: 190 kB / 0.5676 GB, free: 8.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1536, allocations: 0 / 0.5676 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.154, allocations: 67.88 kB / 0.5677 GB, free: 8.691 MB / 430.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.0009279/0.155, allocations: 0.8234 MB / 0.5685 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.1555, allocations: 171.8 kB / 0.5687 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1556, allocations: 0 / 0.5687 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.1559, allocations: 75.95 kB / 0.5687 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1563, allocations: 24.14 kB / 0.5687 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.1599, allocations: 2.578 MB / 0.5713 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1603, allocations: 0.7363 MB / 0.572 GB, free: 4.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.1604, allocations: 17.95 kB / 0.572 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1605, allocations: 67.41 kB / 0.5721 GB, free: 3.965 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1605, allocations: 0 / 0.5721 GB, free: 3.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.1915, allocations: 6.198 MB / 0.5781 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.14, allocations: 3.938 kB / 0.5781 GB, free: 14 MB / 446.1 MB " [Timeout remaining time 648] (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.42998535791412]