Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.0008775/0.0008775, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001004/0.001004, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8939/0.8939, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.242/0.242, allocations: 34.25 MB / 294.9 MB, free: 0.7383 MB / 266.7 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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.121e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.1879/0.188, allocations: 1.805 MB / 444 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1891, allocations: 0.9302 MB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.1891, allocations: 2.719 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1893, allocations: 47.2 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1895, allocations: 76.47 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1898, allocations: 140.2 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.19, allocations: 219.7 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1901, allocations: 11.89 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.1902, allocations: 107.5 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.1903, allocations: 95.45 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1903, allocations: 8.688 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1905, allocations: 115.4 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1906, allocations: 53.06 kB / 445.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1906, allocations: 55.73 kB / 445.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1908, allocations: 268 kB / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1908, allocations: 0.75 kB / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1908, allocations: 0 / 446.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1908, allocations: 4 kB / 446.1 MB, free: 42.88 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005951/0.1914, allocations: 463.9 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1915, allocations: 12.03 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.1915, allocations: 46.69 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1917, allocations: 56.36 kB / 446.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1919, allocations: 180.9 kB / 446.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1919, allocations: 9.234 kB / 446.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1919, allocations: 10.12 kB / 446.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1922, allocations: 259 kB / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1922, allocations: 7.188 kB / 447.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1922, allocations: 8.938 kB / 447.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.1923, allocations: 17.36 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.1926, allocations: 220.7 kB / 447.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.1932, allocations: 0.751 MB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1934, allocations: 189.5 kB / 448.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1935, allocations: 106.6 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1935, allocations: 6.094 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.1935, allocations: 37.44 kB / 448.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.1935, allocations: 2.906 kB / 448.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005138/0.1941, allocations: 320 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.1941, allocations: 106.8 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1942, allocations: 259.7 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1942, allocations: 29.7 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.1943, allocations: 133.8 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1943, allocations: 44.83 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1944, allocations: 39.19 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.1944, allocations: 335.5 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1945, allocations: 92.38 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1947, allocations: 133.2 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.1949, allocations: 229.5 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1949, allocations: 6.594 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003371/0.1953, allocations: 275.1 kB / 450.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1953, allocations: 5.812 kB / 450.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1953, allocations: 9.656 kB / 450.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1953, allocations: 4.688 kB / 450.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1954, allocations: 36.12 kB / 450.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1954, allocations: 2.812 kB / 450.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1956, allocations: 36.42 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1956, allocations: 8.688 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 7.067e-05/0.1956, allocations: 150 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1957, allocations: 20.05 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.1959, allocations: 231.2 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.196, allocations: 2.906 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.196, allocations: 2.781 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.196, allocations: 0 / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1962, allocations: 207.6 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.1962, allocations: 8.438 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.1963, allocations: 37.42 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1963, allocations: 0 / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1963, allocations: 6.109 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1963, allocations: 0 / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1963, allocations: 2.844 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1966, allocations: 487.6 kB / 451.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.1966, allocations: 19.83 kB / 451.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1967, allocations: 4 kB / 451.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1968, allocations: 17.66 kB / 451.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1968, allocations: 20.09 kB / 451.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1969, allocations: 2.719 kB / 451.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.197, allocations: 195.3 kB / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.197, allocations: 0 / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004487/0.1974, allocations: 77.38 kB / 452 MB, free: 39.55 MB / 410.7 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007945/0.1982, allocations: 1.061 MB / 453 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.1987, allocations: 285.7 kB / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1987, allocations: 0 / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1989, allocations: 183.8 kB / 453.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1993, allocations: 44.39 kB / 453.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.2014, allocations: 2.835 MB / 456.4 MB, free: 36.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.2015, allocations: 127.6 kB / 456.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.426e-05/0.2015, allocations: 44.31 kB / 456.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.2016, allocations: 55.77 kB / 456.6 MB, free: 36.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2016, allocations: 0 / 456.6 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.2212, allocations: 6.887 MB / 463.5 MB, free: 35.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.135, allocations: 3.375 kB / 463.5 MB, free: 35.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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: 9.121875515207648]