Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002181/0.002181, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.9 MB / 357.4 MB, free: 10.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 79.88 kB / 0.4913 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1317, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003799/0.1355, allocations: 2.147 MB / 0.5578 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1378, allocations: 1.413 MB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1379, allocations: 8 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.1383, allocations: 91.42 kB / 0.5593 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1385, allocations: 63.38 kB / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.1391, allocations: 215.1 kB / 0.5596 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1393, allocations: 151 kB / 0.5597 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.1393, allocations: 8.312 kB / 0.5597 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1395, allocations: 63.55 kB / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1396, allocations: 71.52 kB / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1396, allocations: 4 kB / 0.5598 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006352/0.1403, allocations: 431.4 kB / 0.5602 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1403, allocations: 27.8 kB / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.1404, allocations: 67.48 kB / 0.5603 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.141, allocations: 454.2 kB / 0.5608 GB, free: 1.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.141, allocations: 0 / 0.5608 GB, free: 1.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.141, allocations: 0 / 0.5608 GB, free: 1.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1411, allocations: 0 / 0.5608 GB, free: 1.184 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007914/0.1418, allocations: 0.4904 MB / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1419, allocations: 12.03 kB / 0.5613 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.142, allocations: 50.73 kB / 0.5613 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.142, allocations: 24.8 kB / 0.5613 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1423, allocations: 220 kB / 0.5615 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1423, allocations: 8.375 kB / 0.5616 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1423, allocations: 27.88 kB / 0.5616 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1427, allocations: 200.5 kB / 0.5618 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1428, allocations: 3.938 kB / 0.5618 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.1428, allocations: 7.984 kB / 0.5618 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1428, allocations: 4 kB / 0.5618 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.1431, allocations: 152.2 kB / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.1441, allocations: 0.5755 MB / 0.5625 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1443, allocations: 58.59 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1444, allocations: 28.91 kB / 0.5626 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1444, allocations: 0 / 0.5626 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1444, allocations: 34.56 kB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1444, allocations: 3.938 kB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004736/0.1449, allocations: 137.5 kB / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.145, allocations: 51.41 kB / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1452, allocations: 258.6 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1452, allocations: 25.7 kB / 0.5631 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1454, allocations: 175.9 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1454, allocations: 19.84 kB / 0.5633 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.1455, allocations: 41.66 kB / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1456, allocations: 338.7 kB / 0.5636 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1458, allocations: 35.98 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.146, allocations: 132.8 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.1463, allocations: 184.6 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1463, allocations: 0 / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004012/0.1467, allocations: 201.4 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1467, allocations: 10.19 kB / 0.5642 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.1468, allocations: 16 kB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1468, allocations: 4 kB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1469, allocations: 32.36 kB / 0.5642 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1469, allocations: 11.98 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1471, allocations: 31.78 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1471, allocations: 8 kB / 0.5643 GB, free: 13.3 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1472, allocations: 141.6 kB / 0.5644 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.1473, allocations: 23.86 kB / 0.5644 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.1477, allocations: 138.8 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1477, allocations: 0 / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1477, allocations: 0 / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1477, allocations: 0 / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.148, allocations: 221.5 kB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.148, allocations: 8 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.148, allocations: 7.984 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.148, allocations: 8 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.148, allocations: 4 kB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.148, allocations: 0 / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.148, allocations: 3.938 kB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.1484, allocations: 203.3 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1485, allocations: 101 kB / 0.5651 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1485, allocations: 0 / 0.5651 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.1486, allocations: 11.98 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1486, allocations: 4 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1486, allocations: 0 / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1488, allocations: 189.9 kB / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 0 / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.1493, allocations: 75.75 kB / 0.5653 GB, free: 12.08 MB / 430.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009114/0.1502, allocations: 0.8138 MB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.1506, allocations: 168 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1507, allocations: 7.938 kB / 0.5663 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.1508, allocations: 95.38 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1512, allocations: 20.89 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.1542, allocations: 2.388 MB / 0.5687 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1546, allocations: 0.7281 MB / 0.5695 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.1547, allocations: 17.55 kB / 0.5695 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.1548, allocations: 55.42 kB / 0.5695 GB, free: 7.543 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1548, allocations: 0 / 0.5695 GB, free: 7.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.1854, allocations: 6.833 MB / 0.5762 GB, free: 0.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.97, allocations: 7.688 kB / 0.5762 GB, free: 0.9102 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.0834741150029]