Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.001128/0.001128, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009967/0.0009967, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.883/0.883, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2362/0.2362, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 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_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.991e-05, allocations: 4.953 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.1718/0.1718, allocations: 2.031 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1733, allocations: 1.543 MB / 445.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1734, allocations: 0 / 445.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1736, allocations: 89.08 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1737, allocations: 68.55 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.1742, allocations: 371.7 kB / 446.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1743, allocations: 152.2 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1744, allocations: 14.48 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.1745, allocations: 70.52 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.1745, allocations: 45.14 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1746, allocations: 5.344 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.1751, allocations: 0.5119 MB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1751, allocations: 30.78 kB / 447.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1752, allocations: 47.52 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1756, allocations: 0.5869 MB / 447.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1756, allocations: 0 / 447.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1756, allocations: 0 / 447.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1756, allocations: 4 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004098/0.176, allocations: 457.2 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.176, allocations: 8.844 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1761, allocations: 58.14 kB / 448.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1761, allocations: 24.11 kB / 448.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1762, allocations: 146.8 kB / 448.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1762, allocations: 13.5 kB / 448.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1762, allocations: 19.75 kB / 448.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1765, allocations: 278 kB / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1765, allocations: 0 / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1765, allocations: 6.844 kB / 448.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1765, allocations: 5.469 kB / 448.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1766, allocations: 159.9 kB / 448.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.1772, allocations: 0.8583 MB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1773, allocations: 54.7 kB / 449.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1773, allocations: 33.75 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1774, allocations: 5.844 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1774, allocations: 34.5 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1774, allocations: 0 / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002517/0.1776, allocations: 135.8 kB / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1777, allocations: 51.41 kB / 450.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1778, allocations: 276 kB / 450.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.1778, allocations: 29.7 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.1778, allocations: 188.1 kB / 450.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.1779, allocations: 26.2 kB / 450.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.1779, allocations: 45.11 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.1779, allocations: 339 kB / 450.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.178, allocations: 44.55 kB / 451 MB, free: 39.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.1781, allocations: 189.5 kB / 451.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1783, allocations: 256.6 kB / 451.4 MB, free: 39.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1783, allocations: 2.906 kB / 451.4 MB, free: 39.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002305/0.1785, allocations: 259.3 kB / 451.7 MB, free: 39.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1785, allocations: 9.938 kB / 451.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.1785, allocations: 14.5 kB / 451.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1785, allocations: 9.25 kB / 451.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.1786, allocations: 47.27 kB / 451.8 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1786, allocations: 9.562 kB / 451.8 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.1787, allocations: 50.28 kB / 451.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1787, allocations: 15.81 kB / 451.8 MB, free: 39.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 5.39e-05/0.1788, allocations: 133.5 kB / 452 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1788, allocations: 20.55 kB / 452 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.179, allocations: 145.2 kB / 452.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.179, allocations: 3.031 kB / 452.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.179, allocations: 0 / 452.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.179, allocations: 4 kB / 452.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1791, allocations: 186.9 kB / 452.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1791, allocations: 12.62 kB / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.1791, allocations: 9.047 kB / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1791, allocations: 0 / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1791, allocations: 2.562 kB / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1791, allocations: 0 / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1791, allocations: 0 / 452.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1793, allocations: 209.2 kB / 452.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.1793, allocations: 24.67 kB / 452.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1793, allocations: 2.625 kB / 452.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.1794, allocations: 2.812 kB / 452.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1794, allocations: 6.234 kB / 452.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1794, allocations: 2.812 kB / 452.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.1795, allocations: 191.2 kB / 452.8 MB, free: 38.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 452.8 MB, free: 38.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.1797, allocations: 107 kB / 452.9 MB, free: 38.31 MB / 410.7 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.000431/0.1802, allocations: 0.8461 MB / 453.7 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1804, allocations: 201.4 kB / 453.9 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1804, allocations: 0 / 453.9 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1805, allocations: 97.98 kB / 454 MB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1807, allocations: 24.17 kB / 454 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1822, allocations: 2.485 MB / 456.5 MB, free: 35.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.1822, allocations: 118.9 kB / 456.6 MB, free: 35.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.1823, allocations: 24.45 kB / 456.7 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1823, allocations: 60.28 kB / 456.7 MB, free: 35.38 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1824, allocations: 2.594 kB / 456.7 MB, free: 35.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.2019, allocations: 9.481 MB / 466.2 MB, free: 34.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.166, allocations: 10.72 kB / 466.2 MB, free: 34.05 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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: 10.105346780270338]